Skip to content

add gh actions

add gh actions #1

Workflow file for this run

name: verify

Check failure on line 1 in .github/workflows/verify.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/verify.yml

Invalid workflow file

`pull_request push` is not a valid event name
on:
pull_request
push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js/18
uses: actions/setup-node@v1
with:
node-version: 18
- name: install dependencies
run: npm i
- name: prettier
run: npm run prettier
- name: build
run: npm run build
- name: verify
run: npm run verify