Skip to content

Commit

Permalink
ci: default to Node.js v16
Browse files Browse the repository at this point in the history
see: loopbackio/cicd#4

Signed-off-by: Rifa Achrinza <[email protected]>
  • Loading branch information
achrinza committed Dec 1, 2021
1 parent 496c3c7 commit 280a5b5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
node-version: [12, 14, 16, 17]
include:
- os: macos-latest
node-version: 14 # LTS
node-version: 16 # LTS
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -73,10 +73,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- name: Bootstrap benchmark tests
run: |
npm ci --ignore-scripts
Expand All @@ -89,10 +89,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- name: Bootstrap project
run: |
npm ci --ignore-scripts
Expand All @@ -112,10 +112,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- name: Install monorepo tools
run: |
npm ci --ignore-scripts
Expand All @@ -132,7 +132,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- name: Install monorepo tools
run: npm ci --ignore-scripts
- name: Validate Renovate config
Expand All @@ -143,10 +143,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- name: Bootstrap project
run: |
npm ci --ignore-scripts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('bundle-node.js', () => {

before('generate bundle-node.js', async function (this: Mocha.Context) {
// It may take some time to generate the bundle using webpack
this.timeout(30000);
this.timeout(50000);
await generateBundle('node');
bundle = require('../../bundle-node');
});
Expand Down

0 comments on commit 280a5b5

Please sign in to comment.