update: add github actions config

This commit is contained in:
cqh963852 committed 2022-02-05 00:31:23 +08:00
1 parent 3c84fd1017
commit e17008b0c3
2 files changed
+59

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
name: Test deployment
on:
pull_request:
branches: [main]
paths: [website/**]
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
cache: yarn
- name: Test build
working-directory: website
run: |
yarn install --frozen-lockfile
yarn build