Skip to content

Commit

Permalink
feat(common): bump yarn (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelfimov authored Sep 12, 2024
1 parent 9adc797 commit 6ea6872
Show file tree
Hide file tree
Showing 584 changed files with 22,354 additions and 19,503 deletions.
2 changes: 1 addition & 1 deletion .config/husky/pre-commit
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
13 changes: 13 additions & 0 deletions .github/workflows/checks.yaml
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
47 changes: 0 additions & 47 deletions .github/workflows/checks.yml

This file was deleted.

52 changes: 16 additions & 36 deletions .github/workflows/publish.yaml
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 }}
43 changes: 0 additions & 43 deletions .github/workflows/version.yaml

This file was deleted.

Loading

0 comments on commit 6ea6872

Please sign in to comment.