diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index bf96972..d767d7f 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 - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: 'npm' registry-url: https://registry.npmjs.org/ - run: npm ci @@ -33,17 +33,17 @@ jobs: cypress-components-testing: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Use Node.js 16 - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: 'npm' registry-url: https://registry.npmjs.org/ - name: Cypress install run: npm install - name: Cypress run - uses: cypress-io/github-action@v5 + uses: cypress-io/github-action@v6 with: install: false component: true @@ -54,10 +54,10 @@ jobs: needs: [ unit-front-end-testing, cypress-components-testing ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci --legacy-peer-deps - run: npm run build @@ -68,12 +68,12 @@ jobs: needs: [ unit-front-end-testing, cypress-components-testing ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish --access=public env: - NPM_PERSONAL_TOKEN: ${{secrets.npm_token}} \ No newline at end of file + NPM_PERSONAL_TOKEN: ${{secrets.npm_token}}