diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c3a9a9..3a764d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,9 @@ 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 @@ -32,7 +35,6 @@ jobs: node-version: "20.x" cache: "npm" - name: Build TypeScript artifacts - working-directory: ./typescript run: | npm ci npm run build diff --git a/.github/workflows/node_release.yml b/.github/workflows/node_release.yml index 25d33c0..9180ffe 100644 --- a/.github/workflows/node_release.yml +++ b/.github/workflows/node_release.yml @@ -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 @@ -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 }}"