Skip to content

Commit

Permalink
Use node 16 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Mar 3, 2023
1 parent 3537ed5 commit 540e406
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/setup-node@v3
id: yarn-cache
with:
node-version: 14.x
node-version: 16
cache: 'yarn'
- if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
Expand All @@ -25,12 +25,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn lint --max-warnings 0
Expand All @@ -42,12 +40,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test --coverage
Expand All @@ -63,12 +59,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: REACT_APP_E2E_TEST=1 yarn build:ext
Expand Down Expand Up @@ -96,10 +90,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: docker-compose pull
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
fetch-depth: 0

# Install dependencies
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16
cache: 'yarn'
- run: yarn install --frozen-lockfile

Expand Down

0 comments on commit 540e406

Please sign in to comment.