-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from ensdomains/feat/use-pnpm
- Loading branch information
Showing
1,320 changed files
with
9,909 additions
and
44,214 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 |
---|---|---|
|
@@ -16,15 +16,17 @@ jobs: | |
with: | ||
ref: ${{ github.event.release.target_commitish }} | ||
|
||
- name: Set up Node ${{ matrix.node-version }} | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7.8.0 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
node-version: ${{ matrix.node-version }} | ||
registry-url: 'https://registry.npmjs.org' | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
- run: pnpm install --frozen-lockfile | ||
|
||
- name: Set up git | ||
run: | | ||
|
@@ -33,14 +35,16 @@ jobs: | |
- name: Bump version to ${{ github.event.release.tag_name }} | ||
run: | | ||
yarn workspace @ensdomains/ensjs version:create ${{ github.event.release.tag_name }} | ||
pnpm -F @ensdomains/ensjs ver ${{ github.event.release.tag_name }} | ||
git add . | ||
git commit -m "${{ github.event.release.tag_name }}" | ||
- name: Publish | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: yarn workspace @ensdomains/ensjs npm publish | ||
run: | | ||
pnpm config set //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} | ||
pnpm -F @ensdomains/ensjs publish | ||
- name: Push changes | ||
run: git push | ||
|
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Test | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7.8.0 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
||
- run: pnpm install --frozen-lockfile | ||
|
||
- name: Run tests | ||
run: pnpm -F @ensdomains/ensjs tenv start |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
strict-peer-dependencies=false |
Oops, something went wrong.