Skip to content

chore(deps): lock file maintenance #1820

chore(deps): lock file maintenance

chore(deps): lock file maintenance #1820

Workflow file for this run

name: Node.js CI
'on':
push:
branches:
- master
- beta
- renovate/**
pull_request:
types:
- opened
- synchronize
env:
FORCE_COLOR: 1
NPM_CONFIG_COLOR: always
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- run: npm test
verify-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 16.14.0
- 18.0.0
- 18
- 20
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm clean-install
- run: npm test
release:
needs:
- verify
- verify-matrix
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
uses: form8ion/.github/.github/workflows/release-package.yml@master
secrets:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
permissions:
contents: read