diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edd8037..c214124 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,11 +12,11 @@ jobs: name: 'Build-Test' steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '22' - name: Install Deps run: yarn install - name: Build @@ -27,18 +27,18 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node_version: ['16'] + node_version: ['22'] include: - os: macos-latest - node_version: 16 + node_version: 22 - os: windows-latest - node_version: 16 + node_version: 22 name: 'Demo-Build-Test: node-${{ matrix.node_version }}, ${{ matrix.os }}' steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set node version to ${{ matrix.node_version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node_version }} - name: Package Install deps diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index 6fd1aaf..1b12a29 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -7,15 +7,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '22.x' registry-url: 'https://registry.npmjs.org' - name: Install dependencies and build run: npm install && npm run build - - name: Publish package on NPM + - name: Publish package on NPM run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}