add ci script and workflow

This commit is contained in:
MapleLeaf
2021-12-08 01:05:55 -06:00
parent abdf88fdc9
commit 759d94f12f
3 changed files with 237 additions and 1 deletions

21
.github/workflows/the.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: the
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
the:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
# https://github.com/actions/setup-node#supported-version-syntax
node-version: "lts/*"
- run: npm i -g pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run ci