generated from atls-lab/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
584 changed files
with
22,354 additions
and
19,503 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn commit staged | ||
yarn commit staged |
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,13 @@ | ||
name: Checks | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- '.github/**' | ||
|
||
jobs: | ||
check: | ||
name: Checks | ||
if: github.event.pull_request.merged == false && github.event.action != 'closed' | ||
uses: atls/shared/.github/workflows/checks.yaml@master | ||
permissions: write-all |
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 |
---|---|---|
@@ -1,42 +1,22 @@ | ||
name: Publish | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '.github/**' | ||
|
||
jobs: | ||
run: | ||
publish: | ||
if: github.event.pull_request.merged == true | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: master | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.13' | ||
|
||
- name: Install | ||
run: yarn install | ||
env: | ||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | ||
|
||
- name: Npm Publish | ||
run: | | ||
yarn version apply --all | ||
yarn workspaces changed foreach --verbose --topological --no-private npm publish --access public | ||
env: | ||
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: Commit changes | ||
uses: EndBug/add-and-commit@v7 | ||
env: | ||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | ||
with: | ||
author_name: github-actions | ||
author_email: 41898282+github-actions[bot]@users.noreply.github.com | ||
message: 'chore(common): publish' | ||
branch: master | ||
uses: atls/shared/.github/workflows/publish.yaml@master | ||
permissions: write-all | ||
with: | ||
appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }} | ||
secrets: | ||
appPrivateKey: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }} | ||
npmAuthToken: ${{ secrets.NPM_TOKEN }} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.