We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c41eff3 commit 7edad77Copy full SHA for 7edad77
.github/workflows/test.yaml
@@ -0,0 +1,37 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master # default branch
7
8
+jobs:
9
+ pages:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: Use Node.js 18
16
+ uses: actions/setup-node@v2
17
+ with:
18
+ node-version: "18"
19
+ - name: Cache NPM dependencies
20
+ uses: actions/cache@v2
21
22
+ path: node_modules
23
+ key: ${{ runner.OS }}-npm-cache
24
+ restore-keys: |
25
+ ${{ runner.OS }}-npm-cache
26
+ - name: Install Dependencies
27
+ run: npm install
28
+ - name: MakeCategory
29
+ run: |
30
+ cd ./public
31
+ ./makeCategory
32
+ cd ../
33
+ - name: Build
34
+ run: npm run build
35
+ - name: Deploy
36
37
+ npm run preview
0 commit comments