Think I fixed caching issue and now re-implementing the job
All checks were successful
Screeps Deploy / setup-and-deploy (push) Successful in 10s
All checks were successful
Screeps Deploy / setup-and-deploy (push) Successful in 10s
This commit is contained in:
11
.github/workflows/deploy.yaml
vendored
11
.github/workflows/deploy.yaml
vendored
@@ -21,8 +21,17 @@ jobs:
|
||||
# node-version: 23.11.1
|
||||
cache: npm
|
||||
|
||||
- name: Cache Node modules
|
||||
id: cache-node-modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node_modules-${{ hashFiles('package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node_modules-
|
||||
|
||||
- name: Install dependencies
|
||||
# if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
npm install -g grunt-cli && npm i
|
||||
|
||||
Reference in New Issue
Block a user