Skip to content

Commit

Permalink
default run dir
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Jun 29, 2023
1 parent 2191a8a commit c0379ec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
- name: Verify npm package version matches tag
run: |
cd bindings/nodejs
python -c "import os,json;version=json.load(open('bindings/nodejs/package.json'))['version'];assert '${{ github.event.release.tag_name }}' == 'v' + version"
- name: Cache dist directory
Expand Down Expand Up @@ -77,6 +76,9 @@ jobs:
publish-to-npm:
needs: [ publish-to-pypi ]
runs-on: ubuntu-latest
defaults:
run:
working-directory: bindings/nodejs

steps:
- name: Checkout code
Expand All @@ -88,9 +90,6 @@ jobs:
cache: 'npm'
cache-dependency-path: bindings/nodejs/package-lock.json

- name: Move to nodejs bindings
run: cd bindings/nodejs

- name: Install dependencies
run: npm ci

Expand Down

0 comments on commit c0379ec

Please sign in to comment.