-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(v3): prepare for release (#593)
Co-authored-by: Yaël Guilloux <[email protected]> Co-authored-by: Clément Ollivier <[email protected]> Co-authored-by: Ahad Birang <[email protected]> Co-authored-by: Maxime Senard <[email protected]> Co-authored-by: Sébastien Chopin <[email protected]> Co-authored-by: Benjamin Canac <[email protected]> Co-authored-by: Daniel Roe <[email protected]> Co-authored-by: Baptiste Leproux <[email protected]>
- Loading branch information
1 parent
b983504
commit 90e6c79
Showing
210 changed files
with
10,261 additions
and
13,683 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,16 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# Bump versions to edge | ||
npx jiti ../../.github/scripts/bump-edge $PWD | ||
npx jiti ./.github/scripts/bump-edge $PWD | ||
|
||
# Update token | ||
if [[ ! -z ${NODE_AUTH_TOKEN} ]] ; then | ||
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc | ||
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc | ||
echo "always-auth=true" >> ~/.npmrc | ||
npm whoami | ||
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc | ||
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc | ||
echo "always-auth=true" >> ~/.npmrc | ||
echo "npmAuthToken: ${NODE_AUTH_TOKEN}" >> ~/.yarnrc.yml | ||
npm whoami | ||
fi | ||
|
||
# # Release package | ||
echo "Publishing $PWD" | ||
npm publish -q --access public | ||
npm publish --access public --tolerate-republish | ||
echo "Published $PWD" |
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,14 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# Resolve yarn | ||
YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install | ||
|
||
# Update token | ||
if [[ ! -z ${NODE_AUTH_TOKEN} ]] ; then | ||
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc | ||
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc | ||
echo "always-auth=true" >> ~/.npmrc | ||
echo "npmAuthToken: ${NODE_AUTH_TOKEN}" >> ~/.yarnrc.yml | ||
npm whoami | ||
fi | ||
|
||
# Release package | ||
echo "Publishing $PWD" | ||
# npm publish -q --access public | ||
# npm publish --access public --tolerate-republish | ||
echo "Published!" |
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 |
---|---|---|
|
@@ -19,33 +19,21 @@ jobs: | |
node: [16] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 2 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.32.2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node }} | ||
cache: 'yarn' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
run: yarn --immutable | ||
|
||
- name: Build | ||
run: pnpm build | ||
|
||
# - name: Test | ||
# run: pnpm test | ||
run: yarn build | ||
|
||
- name: Release Edge version | ||
if: github.event_name == 'push' | ||
run: pnpm run release:edge | ||
run: ./.github/scripts/release-edge.sh | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} | ||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} |
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 |
---|---|---|
|
@@ -20,37 +20,26 @@ jobs: | |
node: [16] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 2 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.32.2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node }} | ||
cache: 'yarn' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
run: yarn --immutable | ||
|
||
- name: Build | ||
run: pnpm build | ||
|
||
# - name: Test | ||
# run: pnpm test | ||
run: yarn build | ||
|
||
- name: Check if the version has been bumped | ||
id: check | ||
uses: EndBug/version-check@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Temporarily disable CI main package releases | ||
# - name: Release Main version | ||
# if: github.event_name == 'push' && steps.check.outputs.changed == 'true' | ||
# run: pnpm release | ||
|
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 |
---|---|---|
|
@@ -13,8 +13,5 @@ dist | |
.yarn/cache | ||
.yarn/*state* | ||
|
||
# Turbo | ||
.turbo | ||
|
||
# Local History | ||
.history |
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
Oops, something went wrong.