Skip to content

Update dependency eslint to v8.49.0 (#74) #285

Update dependency eslint to v8.49.0 (#74)

Update dependency eslint to v8.49.0 (#74) #285

Workflow file for this run

name: build-test
on:
pull_request:
branches: main
push:
branches: main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Install
run: npm install
- name: Check eslint
run: npm run lint
- name: Build
run: npm run build
- name: Check dist
run: git diff --exit-code