Skip to content

chore(action): update bahmutov/npm-install action to v1.8.33 #716

chore(action): update bahmutov/npm-install action to v1.8.33

chore(action): update bahmutov/npm-install action to v1.8.33 #716

Workflow file for this run

name: Node.js CI
'on':
push:
branches:
- master
- alpha
- 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Read .nvmrc
run: 'echo ::set-output name=NVMRC::$(cat .nvmrc)'
id: nvm
- name: Setup node
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- uses: bahmutov/npm-install@fe55be81abde2193c4843a2129b4aec3bb21cc8f # v1.8.33
- run: npm test
release:
needs: verify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Read .nvmrc
run: 'echo ::set-output name=NVMRC::$(cat .nvmrc)'
id: nvm
- name: Setup node
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- uses: bahmutov/npm-install@fe55be81abde2193c4843a2129b4aec3bb21cc8f # v1.8.33
- name: semantic-release
run: npx semantic-release
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NPM_TOKEN: '${{ secrets.NPM_PUBLISH_TOKEN }}'