diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index cf8857b..7376806 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -16,14 +16,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - uses: actions/checkout@v3 - - name: Use Node.js 16 + - name: Use Node.js 20 uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: 'npm' registry-url: https://registry.npmjs.org/ - run: npm ci --legacy-peer-deps @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci --legacy-peer-deps - run: npm run build @@ -52,9 +52,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci --legacy-peer-deps - run: npm publish --access=public env: - NPM_PERSONAL_TOKEN: ${{secrets.npm_token}} \ No newline at end of file + NPM_PERSONAL_TOKEN: ${{secrets.npm_token}}