-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade yarn, typescript, and all packages to latest version in range (…
…#8) * Upgrade yarn and typescript * Run yarn dedupe --strategy highest * skip lib check * Run `yarn upgrade-interactive` and upgrade to latest in range * Run `pre-commit run -a` and clean out generated files * Upgrade prettier and eslint * Use newer node versions on CI * Only use node 18 and 20
- Loading branch information
Showing
845 changed files
with
16,625 additions
and
16,335 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 |
---|---|---|
|
@@ -18,13 +18,14 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node-version: [12.x, 14.x] | ||
node-version: [18.x, 20.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install -g "[email protected]" | ||
- run: yarn test | ||
|
||
run-pre-commits: | ||
|
@@ -34,10 +35,11 @@ jobs: | |
with: | ||
fetch-depth: 100 # need the history to do a changed files check below (source, origin) | ||
- uses: actions/setup-python@v2 | ||
- name: Use Node.js 14.x | ||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
node-version: 18.x | ||
- run: npm install -g "[email protected]" | ||
- uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --source ${{ github.event.pull_request.base.sha || 'HEAD~1' }} --origin ${{ github.event.pull_request.head.sha || 'HEAD' }} | ||
|
@@ -46,11 +48,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 14.x | ||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
- run: yarn pnpify depcheck | ||
node-version: 18.x | ||
- run: npm install -g "[email protected]" | ||
- run: yarn depcheck | ||
|
||
build-to-npm: | ||
if: github.ref == 'refs/heads/main' | ||
|
@@ -64,7 +67,7 @@ jobs: | |
uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
node-version: '18.x' | ||
- name: Configure NPM authentication | ||
run: | | ||
yarn config set npmAlwaysAuth true | ||
|
@@ -84,7 +87,7 @@ jobs: | |
uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
node-version: '18.x' | ||
- name: Configure Github Packages authentication | ||
run: | | ||
yarn config set npmAlwaysAuth true | ||
|
Oops, something went wrong.