Skip to content

Commit

Permalink
add .github/workflows/verify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
haochenx committed Jan 22, 2024
1 parent 234c9ab commit 108e67d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: verify

on:
push:
pull_request:

jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: v1-${{ runner.os }}-${{ hashFiles('yarn.lock') }}

- name: Run yarn install
run: yarn install --frozen-lockfile

- name: Run verify
run: yarn verify

0 comments on commit 108e67d

Please sign in to comment.