diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83824cf6..cb859b14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,16 +8,12 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x, 18.x] - steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 20.x cache: "npm" - run: npm ci - run: npm run build @@ -25,16 +21,12 @@ jobs: build-storybook: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x, 18.x] - steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 20.x cache: "npm" - run: npm ci - run: npm run storybook:build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1bd73473..d582daf4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20.x cache: "npm" - run: npm ci - run: npm run fmt:check diff --git a/.github/workflows/npm-publish-dev.yml b/.github/workflows/npm-publish-dev.yml index e77fb39f..09da155a 100644 --- a/.github/workflows/npm-publish-dev.yml +++ b/.github/workflows/npm-publish-dev.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20.x registry-url: https://registry.npmjs.org - run: ./scripts/publish-dev.sh env: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 735b3cb5..5ec9d8ce 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20.x registry-url: https://registry.npmjs.org - run: | npm pkg delete scripts.prepare diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45a1f1d4..4dd762f6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,16 +8,12 @@ jobs: test: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x, 18.x] - steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 20.x cache: "npm" - run: npm ci @@ -28,7 +24,7 @@ jobs: if: always() uses: actions/upload-artifact@v3 with: - name: test-results-${{ matrix.node-version }} + name: test-results path: | ./cypress-visual-report/* ./cypress-visual-screenshots/*