Skip to content

chore(action): update actions/setup-node action to v3.7.0 #1056

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

chore(action): update actions/setup-node action to v3.7.0 #1056

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:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup node
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- run: npm test
trigger-release:
runs-on: ubuntu-latest
if: github.event_name == 'push'
needs: []
steps:
- uses: octokit/request-action@v2.x
with:
route: >-
POST
/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
owner: pragmatic-divops
repo: eslint-config-mocha
ref: ${{ github.ref }}
workflow_id: release.yml
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}