Skip to content

Commit 1a7dbe9

Browse files
authored
Remove lock file copy step in workflow
1 parent 1411681 commit 1a7dbe9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,12 @@ jobs:
1111
working-directory: crates/string-offsets/js
1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Copy lock file to root for dependency scanning
15-
run: |
16-
cp crates/string-offsets/js/package-lock.json ${GITHUB_WORKSPACE}/package-lock.json
17-
working-directory: .
1814
- uses: actions/setup-node@v4
1915
with:
2016
node-version: 22
2117
registry-url: https://registry.npmjs.org/
2218
cache: npm
19+
cache-dependency-path: crates/string-offsets/js/package-lock.json
2320
- run: npm ci
2421
- run: npm run compile
2522
- run: npm test

0 commit comments

Comments
 (0)