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