Skip to content

Commit

Permalink
cleanup setup-node caching
Browse files Browse the repository at this point in the history
  • Loading branch information
jwetzell committed May 4, 2024
1 parent 5f10130 commit b54f2d1
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-webui-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
node-version: 20
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache-dependency-path: 'webui/package-lock.json'

- name: Install Node.js dependencies
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-cli-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: './cli/package-lock.json'
cache-dependency-path: 'cli/package-lock.json'

- name: Install Node.js dependencies
run: npm ci
working-directory: ./cli

- name: Publish to NPM
run: npm publish --provenance --access=public
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-cli-www.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: './cli/package-lock.json'
cache-dependency-path: 'cli/package-lock.json'

- name: Install Node.js dependencies
run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-demo-webui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'webui/package-lock.json'

- name: install Node.js dependencies
run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-launcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
node-version: 20
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache-dependency-path: 'launcher/package-lock.json'

- run: sudo apt-get install -y libasound2-dev

Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
with:
node-version: 20
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache-dependency-path: 'launcher/package-lock.json'

- name: Install launcher Node.js Dependencies
run: npm ci
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
with:
node-version: 20
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache-dependency-path: 'launcher/package-lock.json'

- name: Install launcher Node.js Dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-lib-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: 20
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache-dependency-path: 'lib/package-lock.json'

- name: Install Node.js dependencies
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-showbridge-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: './cli/package-lock.json'
cache-dependency-path: 'cli/package-lock.json'

- name: setup cli folder
run: node bundle.js
working-directory: ./cli
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'site/package-lock.json'

- name: Install Node.js dependencies
run: npm install
Expand Down

0 comments on commit b54f2d1

Please sign in to comment.