-
-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new actions, remove gpt integration
- Loading branch information
Showing
42 changed files
with
32,634 additions
and
24,477 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Build affected packages | ||
|
||
on: | ||
push: | ||
branches: ['main'] | ||
pull_request: | ||
branches: ['main', 'next', 'develop'] | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: nrwl/nx-set-shas@v3 | ||
- run: npm ci | ||
|
||
- run: npx nx format:check | ||
- run: npx nx affected -t lint --parallel=3 --exclude='*,!tag:package' | ||
- run: npx nx affected -t test --parallel=3 --exclude='*,!tag:package' | ||
- run: npx nx affected -t build --parallel=3 --exclude='*,!tag:package' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Trigger Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
packages: | ||
description: 'Package name (as in Nx)' | ||
required: true | ||
type: choice | ||
options: | ||
- affected | ||
- all | ||
- nextjs-mf | ||
- node | ||
- storybook-addon | ||
- typescript | ||
- utils | ||
- native-federation-typescript | ||
- native-federation-tests | ||
- enhanced | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.inputs.packages }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: nrwl/nx-set-shas@v3 | ||
- run: npm ci | ||
|
||
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies | ||
run: npm audit signatures | ||
|
||
- name: Release ${{ github.event.inputs.packages }} package(s) | ||
run: | | ||
if [[ ${{ github.event.inputs.packages }} == 'affected' ]]; then | ||
npx nx affected -t release --parallel=3 --exclude='*,!tag:package' | ||
elif [[ ${{ github.event.inputs.packages }} == 'all' ]]; then | ||
npx nx run-many --target=release --all --parallel=3 -exclude='*,!tag:package' | ||
else | ||
npx nx run ${{ github.event.inputs.packages }}:release | ||
fi | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_CONFIG_PROVENANCE: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.