-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rogin Farrer
committed
Apr 7, 2023
1 parent
a46a49e
commit 6322ce4
Showing
2 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,30 +12,28 @@ jobs: | |
env: | ||
CI: true | ||
steps: | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7.30.3 | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@main | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: pnpm/action-setup@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@main | ||
with: | ||
node-version-file: '.nvmrc' | ||
node-version: '.nvmrc' | ||
cache: 'pnpm' | ||
|
||
- name: Install Dependencies | ||
- name: Install dependencies | ||
run: pnpm i | ||
|
||
- name: Create release PR or publish to npm | ||
uses: changesets/action@v1 | ||
uses: changesets/action@c2918239208f2162b9d27a87f491375c51592434 | ||
with: | ||
version: pnpm ci:version | ||
publish: pnpm ci:publish | ||
version: pnpm run version | ||
publish: pnpm release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ | |
"lint": "turbo lint", | ||
"format": "prettier --write **/*.{js,ts,tsx,yml,md,md,json}", | ||
"example": "pnpm --filter example run start", | ||
"ci:version": "changeset version && pnpm install --lockfile-only", | ||
"ci:release": "pnpm build && changeset publish" | ||
"version": "changeset version && pnpm install --lockfile-only", | ||
"release": "pnpm build && changeset publish" | ||
}, | ||
"dependencies": { | ||
"@changesets/cli": "^2.25.2", | ||
|
@@ -29,5 +29,6 @@ | |
"alias": { | ||
"process": "process/browser.js", | ||
"buffer": "buffer" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |