Skip to content

chore(action): update actions/setup-node action to v3.8.0 (master) #488

chore(action): update actions/setup-node action to v3.8.0 (master)

chore(action): update actions/setup-node action to v3.8.0 (master) #488

Workflow file for this run

name: Node.js CI
'on':
push:
branches:
- master
- renovate/**
- beta
pull_request:
types:
- opened
- synchronize
env:
FORCE_COLOR: 1
NPM_CONFIG_COLOR: always
jobs:
verify-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 14.0.0
- 14
- 16.0.0
- 16
- 18
- 19
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup node
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3.8.0
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm clean-install
- run: npx ls-engines
- run: npm ls >/dev/null
- run: npm test
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup node
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3.8.0
with:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- run: npm test
release:
needs:
- verify
- verify-matrix
uses: traverson/.github/.github/workflows/release-package.yml@master
secrets:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}