Skip to content

Commit

Permalink
build: switch to npm (#1040)
Browse files Browse the repository at this point in the history
* feat: require node >=16

* build: switch to npm

Yarn has not been updated in a long time, npm is getting constant
updates

* build: more yarn to npm conversion

* build: extra imports
  • Loading branch information
blacha authored Apr 30, 2023
1 parent f4904aa commit c68fef9
Show file tree
Hide file tree
Showing 12 changed files with 11,651 additions and 6,649 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ jobs:
os: [macos-latest, windows-latest]
steps:
- uses: linz/action-typescript@v2
with:
package-manager: 'npm'

build:
runs-on: ubuntu-latest

steps:
- uses: linz/action-typescript@v2
with:
package-manager: 'npm'
- uses: blacha/hyperfine-action@v1
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
if: ${{ needs.release-please.outputs.releases_created }}
steps:
- name: Build and test
uses: linz/action-typescript@v1
uses: linz/action-typescript@v2
with:
package-manager: 'npm'

- name: Publish to NPM
run: npx lerna publish from-package --no-push --no-private --yes
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"npmClient": "yarn",
"npmClient": "npm",
"version": "independent",
"useWorkspaces": true,
"packages": ["packages/*"]
Expand Down
Loading

0 comments on commit c68fef9

Please sign in to comment.