Merge pull request #2265 from ing-bank/fix/revert-node-16

Revert "Update various github actions and node versions (#2251)"
This commit is contained in:
Oleksii Kadurin 2024-04-18 14:18:37 +02:00 committed by GitHub
commit 9af813dcc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 24 deletions

View file

@ -14,19 +14,19 @@ jobs:
steps: steps:
- uses: google/wireit@setup-github-actions-caching/v1 - uses: google/wireit@setup-github-actions-caching/v1
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v4 uses: actions/checkout@v3
with: with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0 fetch-depth: 0
- name: Setup Node.js 18.x - name: Setup Node.js 16.x
uses: actions/setup-node@v4 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 16.x
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm install --ci
- name: Create Release Pull Request or Publish to npm - name: Create Release Pull Request or Publish to npm
id: changesets id: changesets

View file

@ -8,18 +8,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: google/wireit@setup-github-actions-caching/v1 - uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v4 - uses: actions/checkout@v2
- name: Sanity check - name: Sanity check
run: node ./scripts/lock-scan.js run: node ./scripts/lock-scan.js
- name: Setup Node 18.x - name: Setup Node 16.x
uses: actions/setup-node@v4 uses: actions/setup-node@v1
with: with:
node-version: 18.x node-version: 16.x
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm install --ci
- name: Lint - name: Lint
run: npm run lint run: npm run lint
@ -32,15 +32,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: google/wireit@setup-github-actions-caching/v1 - uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v4 - uses: actions/checkout@v2
- name: Setup Node 18.x - name: Setup Node 16.x
uses: actions/setup-node@v4 uses: actions/setup-node@v1
with: with:
node-version: 18.x node-version: 16.x
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm install --ci
- uses: microsoft/playwright-github-action@v1 - uses: microsoft/playwright-github-action@v1
@ -52,19 +52,19 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
node-version: [18.x] node-version: [16.x]
os: [ubuntu-latest] os: [ubuntu-latest]
steps: steps:
- uses: google/wireit@setup-github-actions-caching/v1 - uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v4 - uses: actions/checkout@v2
- name: Setup Node ${{ matrix.node-version }} - name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm install --ci
- name: Test - name: Test
run: npm run test:node run: npm run test:node
@ -75,19 +75,19 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
node-version: [18.x] node-version: [16.x]
os: [windows-latest] os: [windows-latest]
steps: steps:
- uses: google/wireit@setup-github-actions-caching/v1 - uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v4 - uses: actions/checkout@v2
- name: Setup Node ${{ matrix.node-version }} - name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm install --ci
- name: Test - name: Test
run: npm run test:node run: npm run test:node

2
.nvmrc
View file

@ -1 +1 @@
18 16