Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NPM caching
Browse files Browse the repository at this point in the history
mcs committed Apr 2, 2024
1 parent f119064 commit c8d0880
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/script-tsumbeta.yml
Original file line number Diff line number Diff line change
@@ -14,6 +14,17 @@ jobs:
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- name: Cache
uses: actions/cache@v4
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Make the script files executable
run: chmod +x build.sh
- name: Compile sources and create index.zip

0 comments on commit c8d0880

Please sign in to comment.