Skip to content

Commit

Permalink
Fix failing github action (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
reagan-meant authored Oct 3, 2024
1 parent e102605 commit 73033fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
server-token: ${{ env.TURBO_TOKEN }}

- name: 🏷️ Version
run: yarn workspaces foreach --worktree --topological --exclude @i-tech-uw/esm-patient-ips-app version "$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}"
run: yarn version "$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}"

- name: 🏗️ Build
run: yarn turbo run build --concurrency=5
Expand All @@ -103,7 +103,7 @@ jobs:
run: git add . && git commit -m "Prerelease version" --no-verify

- name: 🚀 Pre-release
run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn run ci:prepublish
run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish --access public --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down Expand Up @@ -142,6 +142,6 @@ jobs:
run: yarn install --immutable

- run: yarn turbo run build --color
- run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn run ci:publish
- run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish --access public --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 73033fb

Please sign in to comment.