We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c845b8 commit 561bfaaCopy full SHA for 561bfaa
.github/workflows/test-deploy.yml
@@ -0,0 +1,27 @@
1
+name: Test deployment
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ # Review GitHub Actions docs if you want to further define triggers, paths, etc.
8
+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
9
10
+jobs:
11
+ test-deploy:
12
+ name: Test deployment
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ with:
17
+ fetch-depth: 0
18
+ - uses: actions/setup-node@v4
19
20
+ node-version: 18
21
+ cache: npm
22
23
+ - name: Install dependencies
24
+ run: npm ci
25
26
+ - name: Test build website
27
+ run: npm run build
0 commit comments