Skip to content

Commit af22bdc

Browse files
authored
feat(common): bump yarn (#8)
* feat(common): bump yarn * chore(common): remove versions
1 parent 8663bb3 commit af22bdc

File tree

834 files changed

+11987
-6566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

834 files changed

+11987
-6566
lines changed

.config/husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn commit staged
4+
yarn commit staged

.github/workflows/checks.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Checks
2+
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '.github/**'
7+
8+
jobs:
9+
check:
10+
name: Checks
11+
if: github.event.pull_request.merged == false && github.event.action != 'closed'
12+
uses: atls/shared/.github/workflows/checks.yaml@master
13+
permissions: write-all

.github/workflows/checks.yml

-51
This file was deleted.

.github/workflows/publish.yaml

+16-36
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,22 @@
11
name: Publish
22

33
on:
4-
workflow_dispatch:
4+
pull_request:
5+
types:
6+
- closed
7+
branches:
8+
- master
9+
paths-ignore:
10+
- '.github/**'
511

612
jobs:
7-
run:
13+
publish:
14+
if: github.event.pull_request.merged == true
815
name: Publish
9-
runs-on: ubuntu-latest
10-
11-
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
14-
with:
15-
ref: master
16-
17-
- name: Setup Node
18-
uses: actions/setup-node@v2
19-
with:
20-
node-version: '16.13'
21-
22-
- name: Install
23-
run: yarn install
24-
env:
25-
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
26-
27-
- name: Npm Publish
28-
run: |
29-
yarn version apply --all
30-
yarn workspaces changed foreach --verbose --topological --no-private npm publish --access public
31-
env:
32-
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33-
34-
- name: Commit changes
35-
uses: EndBug/add-and-commit@v7
36-
env:
37-
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
38-
with:
39-
author_name: github-actions
40-
author_email: 41898282+github-actions[bot]@users.noreply.github.com
41-
message: 'chore(common): publish'
42-
branch: master
16+
uses: atls/shared/.github/workflows/publish.yaml@master
17+
permissions: write-all
18+
with:
19+
appId: ${{ vars.ATLANTIS_SUPER_BOT_APP_ID }}
20+
secrets:
21+
appPrivateKey: ${{ secrets.ATLANTIS_SUPER_BOT_PRIVATE_KEY }}
22+
npmAuthToken: ${{ secrets.NPM_TOKEN }}

.github/workflows/version.yaml

-48
This file was deleted.

0 commit comments

Comments
 (0)