Skip to content

fix(deps): bump actions/setup-node from 2.1.5 to 3.7.0 #176

fix(deps): bump actions/setup-node from 2.1.5 to 3.7.0

fix(deps): bump actions/setup-node from 2.1.5 to 3.7.0 #176

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@master
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup node env πŸ—
uses: actions/setup-node@v3.7.0
with:
node-version: ${{ matrix.node }}
- name: Upgrade npm ✨
run: npm i -g npm@latest
- name: Get npm cache directory πŸ—
id: npm-cache
run: echo "::set-output name=dir::$(npm config get cache)"
- name: Restore cached node_modules πŸ€·β€β™‚οΈ
uses: actions/cache@v2.1.6
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies πŸš€
run: npm ci --prefer-offline --no-audit --no-optional
- name: Check for lint errors πŸ‘€
run: npm run lint