Skip to content

upgrade deps esp with peer #15

upgrade deps esp with peer

upgrade deps esp with peer #15

Workflow file for this run

name: CI-Test
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
if: "! contains(toJSON(github.event.pull_request.labels.*.name), 'ci-skip')"
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: '20'
cache: 'npm'
- name: Prepare dot npmrc for private registry
run: echo //npm.pkg.github.com/:_authToken=${{ secrets.GH_TOKEN }} >> ~/.npmrc
- name: Bootstrap
if: steps.node-cache.outputs.cache-hit != 'true'
run: npm ci
env:
NPM_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Lint
run: npm run lint
env:
NODE_ENV: dev
CI: true
- name: Test
run: npm run test
env:
NODE_ENV: test
CI: true