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.
2 parents 8fa178d + 07dba76 commit 0d75ab2Copy full SHA for 0d75ab2
.github/workflows/build.yml
@@ -0,0 +1,26 @@
1
+name: build
2
+on: push
3
+jobs:
4
+ build:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v3
8
+ - uses: actions/setup-node@v3
9
+ with:
10
+ node-version: 16
11
+ - name: Cache node modules
12
+ uses: actions/cache@v3
13
+ env:
14
+ cache-name: cache-node-modules
15
16
+ # npm cache files are stored in `~/.npm` on Linux/macOS
17
+ path: ~/.npm
18
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
19
+ restore-keys: |
20
+ ${{ runner.os }}-build-${{ env.cache-name }}-
21
+ ${{ runner.os }}-build-
22
+ ${{ runner.os }}-
23
+ - name: Install
24
+ run: npm install
25
+ - name: Build
26
+ run: npm run build
0 commit comments