add ci.yml
This commit is contained in:
parent
fd84697db0
commit
2611f0da00
1 changed files with 17 additions and 0 deletions
17
.github/workflows/ci.yml
vendored
Normal file
17
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: Deploy to GitHub pages
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions: write-all
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@master
|
||||
- name: Install pnpm
|
||||
run: npm i -g pnpm
|
||||
- run: pnpm install
|
||||
- run: pnpm build
|
||||
# todo use nohup and official action?
|
||||
# - run: pnpm prod-start & pnpm test:cypress
|
||||
Loading…
Add table
Add a link
Reference in a new issue