Skip to content

Commit

Permalink
Sets default working path
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterSpaak committed Mar 14, 2024
1 parent 71a42cd commit 4e596b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ jobs:
./python/ci/linux/build_python_package.sh
build-typescript:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./typescript
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- name: Build TypeScript artifacts
working-directory: ./typescript
run: |
npm ci
npm run build
4 changes: 3 additions & 1 deletion .github/workflows/node_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
npm-publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./typescript
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -15,7 +18,6 @@ jobs:
registry-url: "https://registry.npmjs.org"
cache: "npm"
- name: Build and publish to NPM
working-directory: ./typescript
run: |
npm ci
npm run set-version --version="${{ github.ref_name }}"
Expand Down

0 comments on commit 4e596b8

Please sign in to comment.