-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Nx): setup Nx release and drop
@jscutlery/semver
plugin
- Loading branch information
1 parent
4adfede
commit b795cb1
Showing
11 changed files
with
46 additions
and
720 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,6 +6,7 @@ on: | |
|
||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | ||
|
||
permissions: | ||
|
@@ -28,7 +29,7 @@ jobs: | |
- name: 🔍 Check GH_TOKEN | ||
uses: ./.github/actions/check-token | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: $GH_TOKEN | ||
|
||
- name: 🛠 Setup Volta | ||
uses: volta-cli/action@v4 | ||
|
@@ -42,13 +43,13 @@ jobs: | |
|
||
- name: 👀 Check NPM credentials | ||
run: | | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc | ||
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> .npmrc | ||
npm whoami | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: 🚀 Publish BEEQ to NPM registry | ||
run: npx nx run-many -t publish -p tag:publishable --parallel=1 --output-style=stream-without-prefixes | ||
run: npx nx release publish --parallel=5 --output-style=stream | ||
env: | ||
NPM_CONFIG_PROVENANCE: true | ||
|
||
- name: 🚚 Deploy BEEQ Storybook to GitHub Pages | ||
uses: bitovi/[email protected] | ||
|
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
Oops, something went wrong.