This commit is contained in:
2024-03-22 08:23:13 +05:30
parent a9e0b57f92
commit a0b7ecd4b8
2 changed files with 66 additions and 43 deletions

26
.github/workflows/test-deploy.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Test deployment
on:
pull_request:
branches:
- master
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test build documents
run: yarn build