init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- uses: pnpm/action-setup@master
|
||||
with:
|
||||
version: 9
|
||||
run_install: false
|
||||
- name: Install pnpm dependencies (with cache)
|
||||
uses: covbot/pnpm-install-with-cache@v1
|
||||
# scripts
|
||||
- run: pnpm build
|
||||
- run: pnpm test
|
||||
Reference in New Issue
Block a user