Skip to content

Commit

Permalink
Fix working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Oct 25, 2023
1 parent cf0f892 commit fbb39d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,19 @@ on:
jobs:
publish-package:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/${{ inputs.package }}
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_KEY }}
working-directory: packages/${{ inputs.package }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: yarn install
- name: Bump version and publish to NPM
- name: Bump version
id: bump-version
run: |
NPM_PACKAGE=$(jq -r .name package.json)
Expand Down

0 comments on commit fbb39d6

Please sign in to comment.