We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d2555 commit dc91ddfCopy full SHA for dc91ddf
.github/workflows/build.yml
@@ -0,0 +1,28 @@
1
+name: Build
2
+on:
3
+ workflow_dispatch:
4
+ pull_request:
5
+
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout Repository
11
+ uses: actions/checkout@v3
12
+ with:
13
+ ref: ${{ github.head_ref }}
14
+ - name: Setup Node
15
+ uses: actions/setup-node@v3
16
17
+ node-version: 16
18
+ - name: Cache dependencies
19
+ uses: actions/cache@v3
20
21
+ path: ~/.npm
22
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
23
+ restore-keys: |
24
+ ${{ runner.os }}-node-
25
+ - name: Install dependencies
26
+ run: npm ci
27
+ - name: build page
28
+ run: npm run build
0 commit comments