Skip to content

Commit 21d6207

Browse files
Alter publish.yml to use turbo (#1697)
1 parent c0d7270 commit 21d6207

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

.github/workflows/publish.yml

+10-12
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
- main
1212
- master
1313

14+
env:
15+
TURBO_API: http://127.0.0.1:9080
16+
TURBO_TOKEN: this-is-not-a-secret
17+
TURBO_TEAM: myself
18+
1419
concurrency:
1520
group: publish-${{ github.head_ref || github.ref }}
1621
cancel-in-progress: true
@@ -43,20 +48,13 @@ jobs:
4348
pull-requests: write
4449

4550
steps:
46-
- uses: actions/checkout@v4
47-
- uses: actions/setup-node@v4
51+
- uses: wyvox/action@v1
4852
with:
49-
node-version: 18
53+
repo-token: ${{ secrets.GITHUB_TOKEN }}
5054
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
51-
registry-url: 'https://registry.npmjs.org'
52-
53-
- uses: pnpm/action-setup@v3
54-
with:
55-
version: 8
56-
- run: pnpm install --frozen-lockfile
57-
- name: npm publish
58-
run: pnpm release-plan publish
59-
55+
node-registry-url: 'https://registry.npmjs.org'
56+
- run: pnpm turbo build
57+
- run: pnpm release-plan publish
6058
env:
6159
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
6260
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

packages/ember-repl/addon/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"addon-main.cjs"
6161
],
6262
"scripts": {
63-
"prepack": "rollup --config",
6463
"build": "rollup --config",
6564
"lint:types": "tsc --noEmit",
6665
"lint:fix": "pnpm -w exec lint fix",

0 commit comments

Comments
 (0)