node 20 in CI
This commit is contained in:
parent
bd073bc48b
commit
c7bb5b0f22
|
@ -33,7 +33,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
node-version: [16.x, 18.x]
|
node-version: [16.x, 18.x, 20.x]
|
||||||
# When set to true, GitHub cancels all in-progress jobs if any matrix job fails.
|
# When set to true, GitHub cancels all in-progress jobs if any matrix job fails.
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
# The maximum number of jobs that can run simultaneously. Set to 1 if you can't run tests in parallel
|
# The maximum number of jobs that can run simultaneously. Set to 1 if you can't run tests in parallel
|
||||||
|
@ -86,31 +86,31 @@ jobs:
|
||||||
# VARIABLE1: ${{ secrets.VARIABLE1 }}
|
# VARIABLE1: ${{ secrets.VARIABLE1 }}
|
||||||
# VARIABLE2: ${{ secrets.VARIABLE2 }}
|
# VARIABLE2: ${{ secrets.VARIABLE2 }}
|
||||||
|
|
||||||
# publish:
|
publish:
|
||||||
# needs: [nodetests, browsertests]
|
needs: [nodetests, browsertests]
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - name: Git checkout
|
- name: Git checkout
|
||||||
# uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# - name: Install Node.js, NPM and Yarn
|
- name: Install Node.js, NPM and Yarn
|
||||||
# uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
# with:
|
with:
|
||||||
# node-version: "18.x"
|
node-version: "18.x"
|
||||||
# registry-url: "https://registry.npmjs.org"
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
|
||||||
# # - name: install
|
- name: install
|
||||||
# # run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
# # - name: coverage
|
- name: coverage
|
||||||
# # run: npm run coverage
|
run: npm run coverage
|
||||||
|
|
||||||
# # - name: send report to coveralls.io
|
- name: send report to coveralls.io
|
||||||
# # uses: coverallsapp/github-action@master
|
uses: coverallsapp/github-action@master
|
||||||
# # with:
|
with:
|
||||||
# # github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# - name: NPM publish
|
- name: NPM publish
|
||||||
# run: npm publish --access public
|
run: npm publish --access public
|
||||||
# env:
|
env:
|
||||||
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
Loading…
Reference in New Issue