-
Notifications
You must be signed in to change notification settings - Fork 33
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 #1759 from SUI-Components/upgrade-node-version
chore(Root): upgrade node version
- Loading branch information
Showing
5 changed files
with
25,665 additions
and
13 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 |
---|---|---|
|
@@ -6,18 +6,17 @@ on: | |
pull_request: | ||
branches: [master] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | ||
|
||
jobs: | ||
checks: | ||
name: Checks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Redundant Builds | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
@@ -27,14 +26,15 @@ jobs: | |
with: | ||
registry-url: 'https://registry.npmjs.org' | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
||
- name: Setup Chrome | ||
uses: browser-actions/setup-chrome@latest | ||
|
||
- name: Install | ||
run: | | ||
sudo apt-get install xvfb | ||
npm install --no-save --no-fund --no-audit --legacy-peer-deps | ||
npm ci | ||
npx -y ultra-runner --raw --recursive prepublishOnly | ||
- name: Lint | ||
|
@@ -51,10 +51,11 @@ jobs: | |
publish: | ||
name: Publish | ||
needs: checks | ||
if: github.ref == 'refs/heads/master' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
@@ -64,12 +65,12 @@ jobs: | |
with: | ||
registry-url: 'https://registry.npmjs.org' | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
||
- name: Install | ||
run: npm install --no-save --no-fund --no-audit --legacy-peer-deps | ||
run: npm ci | ||
|
||
- name: Publish Packages | ||
if: github.ref == 'refs/heads/master' | ||
run: | | ||
npx -p ./packages/sui-mono sui-mono check | ||
npx -p ./packages/sui-ci sui-ci release | ||
|
@@ -88,7 +89,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
@@ -98,6 +99,7 @@ jobs: | |
with: | ||
registry-url: 'https://registry.npmjs.org' | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
||
- name: Install | ||
run: npm install -D commander execa prettier | ||
|
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 +1,3 @@ | ||
audit=false | ||
fund=false | ||
legacy-peer-deps=true |
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 +1 @@ | ||
18 | ||
20 |
Oops, something went wrong.