File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ paths-ignore :
4+ - " .devcontainer/**"
5+ - " .github/README.md"
6+ - " .gitignore"
7+ - " LICENSE"
8+ - " network/**"
9+ - " server/**"
10+
11+ jobs :
12+ ci :
13+ defaults :
14+ run :
15+ working-directory : docs
16+ runs-on : ubuntu-latest
17+ permissions :
18+ contents : read
19+ deployments : write
20+ statuses : write
21+ name : Build Test
22+ steps :
23+ - name : Checkout
24+ uses : actions/checkout@v4
25+ - name : Setup Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : 20
29+ - uses : actions/cache@v3
30+ id : node_modules_cache_id
31+ env :
32+ cache-name : cache-node-modules
33+ with :
34+ path : ' **/node_modules'
35+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
36+ - run : echo '${{ toJSON(steps.node_modules_cache_id.outputs) }}'
37+ - if : ${{ steps.node_modules_cache_id.outputs.cache-hit != 'true' }}
38+ run : npm install
39+ - name : Build
40+ run : npm run build
41+
You can’t perform that action at this time.
0 commit comments