Skip to content

Commit 6adf425

Browse files
authored
Merge pull request #55 from leobalter/patch-1
Set the working-directory for the npm publish
2 parents 7f4faf4 + b1826ac commit 6adf425

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ on:
66
jobs:
77
publish-npm:
88
runs-on: ubuntu-latest
9+
defaults:
10+
run:
11+
working-directory: crates/string-offsets/js
912
steps:
1013
- uses: actions/checkout@v3
1114
- uses: actions/setup-node@v3
1215
with:
1316
node-version: 22
1417
registry-url: https://registry.npmjs.org/
1518
cache: npm
16-
- run: cd crates/string-offsets/js
1719
- run: npm ci
1820
- run: npm run compile
1921
- run: npm test

0 commit comments

Comments
 (0)