Skip to content

Commit

Permalink
Alter publish.yml to use turbo (#1697)
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli authored Mar 10, 2024
1 parent c0d7270 commit 21d6207
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
- main
- master

env:
TURBO_API: http://127.0.0.1:9080
TURBO_TOKEN: this-is-not-a-secret
TURBO_TEAM: myself

concurrency:
group: publish-${{ github.head_ref || github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -43,20 +48,13 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: wyvox/action@v1
with:
node-version: 18
repo-token: ${{ secrets.GITHUB_TOKEN }}
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
registry-url: 'https://registry.npmjs.org'

- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm install --frozen-lockfile
- name: npm publish
run: pnpm release-plan publish

node-registry-url: 'https://registry.npmjs.org'
- run: pnpm turbo build
- run: pnpm release-plan publish
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion packages/ember-repl/addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"addon-main.cjs"
],
"scripts": {
"prepack": "rollup --config",
"build": "rollup --config",
"lint:types": "tsc --noEmit",
"lint:fix": "pnpm -w exec lint fix",
Expand Down

0 comments on commit 21d6207

Please sign in to comment.