-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate to yarn 2 (berry) (#76)
- Loading branch information
1 parent
1e18667
commit bb63d73
Showing
920 changed files
with
29,574 additions
and
82 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 |
---|---|---|
@@ -1,60 +1,60 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
- "develop" | ||
pull_request: | ||
types: [ready_for_review, synchronize, opened] | ||
push: | ||
branches: | ||
- "master" | ||
- "develop" | ||
pull_request: | ||
types: [ready_for_review, synchronize, opened] | ||
|
||
jobs: | ||
unit: | ||
runs-on: ubuntu-latest | ||
unit: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install | ||
run: yarn install --frozen-lockfile | ||
- name: Install | ||
run: yarn install --immutable --immutable-cache | ||
|
||
- name: Build | ||
run: yarn build | ||
- name: Build | ||
run: yarn build | ||
|
||
- name: Test | ||
run: yarn test --coverage | ||
- name: Test | ||
run: yarn test --coverage | ||
|
||
- name: Codecov | ||
run: ./node_modules/.bin/codecov --token=${{ secrets.CODECOV_TOKEN }} | ||
- name: Codecov | ||
run: yarn coverage:report --token=${{ secrets.CODECOV_TOKEN }} | ||
|
||
benchmark: | ||
needs: unit | ||
benchmark: | ||
needs: unit | ||
|
||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install | ||
run: yarn install --frozen-lockfile | ||
- name: Install | ||
run: yarn install --immutable --immutable-cache | ||
|
||
- name: Benchmark | ||
run: yarn bench | ||
- name: Benchmark | ||
run: yarn bench |
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,4 +1,4 @@ | ||
{ | ||
"src/*.ts": ["yarn lint", "prettier --write", "git add"], | ||
"*.{json,md}": ["prettier --write", "git add"] | ||
"src/*.ts": ["yarn lint", "prettier --write"], | ||
"*.{json,md}": ["prettier --write"] | ||
} |
Oops, something went wrong.