Skip to content

Commit 55f7801

Browse files
Fix Bugs
Fix a bug where the build command didn't work as it didn't have the source code to build from. Fix another issue here the publish job couldn't complete as it could not find the cache information. Turns out we don't need that so removed the cache requirement as we are only trying to execute npm publish, not npm install.
1 parent d84d060 commit 55f7801

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/NPM-Publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525

2626
# Set of commands to run for the build job
2727
steps:
28+
# Checks-out your repository under $GITHUB_WORKSPACE
29+
- name: Clone Repo
30+
uses: actions/checkout@v4
31+
2832
# Set up NodeJS on the build host with caching support to optimize execution
2933
- name: Set up Node.js
3034
uses: actions/setup-node@v4
@@ -119,8 +123,6 @@ jobs:
119123
node-version: 20
120124
registry-url: https://registry.npmjs.org/
121125
scope: shi-corp
122-
cache: npm
123-
cache-dependency-path: package-lock.json
124126

125127
# Download the compiled server binary
126128
- name: Download Artifact From Build Job

0 commit comments

Comments
 (0)