-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from MrMarCode/MrMarCode/upgrade-to-node-20
build: upgrade to node 20
- Loading branch information
Showing
4 changed files
with
21 additions
and
14,257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,32 +7,42 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Fetch all history | ||
- | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
- run: npm i -g [email protected] | ||
- run: npm ci | ||
- run: npm run check-node-version | ||
- run: npm run standards | ||
test: | ||
needs: [ build ] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: [ 12, 14, 16, 'lts/*', 'latest' ] | ||
node-version: [ 16, 20, 'lts/*', 'latest' ] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- | ||
name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm i -g [email protected] | ||
- run: npm ci # Reinstall the dependencies to ensure they install with the current version of node | ||
- run: npm test | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@v1 | ||
with: | ||
parallel: true | ||
flag-name: ${{ matrix.node-version }} | ||
finish: | ||
needs: [ test ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Close parallel build | ||
uses: coverallsapp/github-action@v1 | ||
with: | ||
parallel-finished: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.15.0 | ||
20.12.2 |
Oops, something went wrong.