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 1296e7d commit b6da155Copy full SHA for b6da155
.github/workflows/spa.yml
@@ -0,0 +1,32 @@
1
+name: spa build
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - '*'
7
+ pull_request:
8
+ branches: [ main ]
9
10
+jobs:
11
+ build:
12
13
+ runs-on: ubuntu-latest
14
+ defaults:
15
+ run:
16
+ working-directory: ./web/serverless-microservices-web
17
18
+ strategy:
19
+ matrix:
20
+ # https://docs.microsoft.com/en-us/azure/azure-functions/functions-versions?tabs=csharp%2Cv4#languages
21
+ node-version: [14.x, 12.x, 10.x]
22
23
+ steps:
24
+ - uses: actions/checkout@v2
25
+ - name: Use Node.js ${{ matrix.node-version }}
26
+ uses: actions/setup-node@v2
27
+ with:
28
+ node-version: ${{ matrix.node-version }}
29
+ cache: 'npm'
30
+ cache-dependency-path: ./web/serverless-microservices-web
31
+ - run: npm install
32
+ - run: npm run build
0 commit comments