Skip to content

Commit 400a364

Browse files
committed
init sub project
1 parent 5944621 commit 400a364

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.github/workflows/blank.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11+
env:
12+
nodejs_version: 18.x
13+
repo_dir: sub
14+
1115
build:
1216
runs-on: ubuntu-latest
1317

@@ -17,7 +21,9 @@ jobs:
1721
- name: Use Node
1822
uses: actions/setup-node@v2
1923
with:
20-
node-version: 18.x
24+
node-version: ${{ env.nodejs_version }}
2125
cache: 'npm'
26+
cache-dependency-path: ${{ env.repo_dir }}/package-lock.json
2227

23-
- run: npm ci --verbose
28+
- run: |
29+
cd $repo_dir && npm ci

package-lock.json sub/package-lock.json

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json sub/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"homepage": "https://github.com/akv-demo/setup-node-test#readme",
1919
"dependencies": {
20+
"akv-demo-pkg1": "^1.0.0",
2021
"font-awesome": "^4.7.0"
2122
}
2223
}

0 commit comments

Comments
 (0)