-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and switch to pnpm
- Loading branch information
Showing
11 changed files
with
6,582 additions
and
12,338 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
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 |
---|---|---|
@@ -1,31 +1,34 @@ | ||
name: CI | ||
name: Main | ||
|
||
on: ["push", "pull_request"] | ||
|
||
jobs: | ||
build: | ||
name: Build, test and eventually publish | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
node-version: 18 | ||
version: 8 | ||
|
||
- name: Restore cache | ||
uses: actions/cache@v3 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
path: | | ||
node_modules | ||
packages/*/node_modules | ||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | ||
node-version: 18 | ||
cache: 'pnpm' | ||
|
||
- name: Install | ||
run: npm ci | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Lint | ||
run: npm run lint | ||
run: pnpm run lint | ||
|
||
- name: Build | ||
run: npm run build | ||
run: pnpm run build | ||
|
||
- name: Publish | ||
if: startsWith(github.event.ref, 'refs/tags/v') | ||
run: npx lerna publish from-package --yes |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,7 +1,4 @@ | ||
{ | ||
"version": "3.2.7", | ||
"useWorkspaces": true, | ||
"packages": [ | ||
"packages/*" | ||
] | ||
"npmClient": "pnpm" | ||
} |
Oops, something went wrong.