This repository was archived by the owner on Nov 16, 2023. It is now read-only.
File tree 2 files changed +31
-0
lines changed 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Node CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build-node :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - uses : actions/checkout@v1
11
+ - name : Use Node.js 12.x
12
+ uses : actions/setup-node@v1
13
+ with :
14
+ node-version : 12.x
15
+ - name : Get npm cache directory
16
+ id : npm-cache
17
+ run : |
18
+ echo "::set-output name=dir::$(npm config get cache)"
19
+ - uses : actions/cache@v1
20
+ with :
21
+ path : ${{ steps.npm-cache.outputs.dir }}
22
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
23
+ restore-keys : |
24
+ ${{ runner.os }}-node-
25
+ - name : npm install, build, and test
26
+ run : |
27
+ npm ci
28
+ npm run build --if-present
29
+ env :
30
+ CI : true
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ The full folder structure of this app is explained below:
199
199
| Name | Description |
200
200
| ------------------------ | --------------------------------------------------------------------------------------------- |
201
201
| ** .vscode** | Contains VS Code specific settings |
202
+ | ** .github** | Contains GitHub settings and configurations, incuding the GitHub Actions workflows |
202
203
| ** dist** | Contains the distributable (or output) from your TypeScript build. This is the code you ship |
203
204
| ** node_modules** | Contains all your npm dependencies |
204
205
| ** src** | Contains your source code that will be compiled to the dist dir |
You can’t perform that action at this time.
0 commit comments