fix(deps): bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 #177
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v2.1.5 | |
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 |