diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index fce2e35..43336bf 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -8,16 +8,23 @@ on: workflow_dispatch: jobs: + build: runs-on: ubuntu-latest + env: + nodejs_version: 18.x + repo_dir: sub + steps: - uses: actions/checkout@v3 - name: Use Node uses: actions/setup-node@v2 with: - node-version: 18.x + node-version: ${{ env.nodejs_version }} cache: 'npm' + cache-dependency-path: ${{ env.repo_dir }}/package-lock.json - - run: npm ci --verbose + - run: | + cd $repo_dir && npm ci diff --git a/package-lock.json b/sub/package-lock.json similarity index 60% rename from package-lock.json rename to sub/package-lock.json index db9285b..888aefd 100644 --- a/package-lock.json +++ b/sub/package-lock.json @@ -9,9 +9,15 @@ "version": "1.0.0", "license": "ISC", "dependencies": { + "akv-demo-pkg1": "^1.0.0", "font-awesome": "^4.7.0" } }, + "node_modules/akv-demo-pkg1": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/akv-demo-pkg1/-/akv-demo-pkg1-1.0.0.tgz", + "integrity": "sha512-PkG5KifypHmefVeKu+TBUy+llIO47QpXZaGx9pc8fp3jrXL/gmpplSBDFz5uQqI/ijsqGswFxTD0sTd8hV3WXg==" + }, "node_modules/font-awesome": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz", @@ -22,6 +28,11 @@ } }, "dependencies": { + "akv-demo-pkg1": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/akv-demo-pkg1/-/akv-demo-pkg1-1.0.0.tgz", + "integrity": "sha512-PkG5KifypHmefVeKu+TBUy+llIO47QpXZaGx9pc8fp3jrXL/gmpplSBDFz5uQqI/ijsqGswFxTD0sTd8hV3WXg==" + }, "font-awesome": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz", diff --git a/package.json b/sub/package.json similarity index 94% rename from package.json rename to sub/package.json index 88a6c40..a1d9112 100644 --- a/package.json +++ b/sub/package.json @@ -17,6 +17,7 @@ }, "homepage": "https://github.com/akv-demo/setup-node-test#readme", "dependencies": { + "akv-demo-pkg1": "^1.0.0", "font-awesome": "^4.7.0" } }