Skip to content

Commit

Permalink
feat: bump yarn, versions, convert to esm
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelfimov committed Sep 18, 2024
1 parent 0588321 commit e39ed99
Show file tree
Hide file tree
Showing 600 changed files with 12,315 additions and 8,198 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
51 changes: 0 additions & 51 deletions .github/workflows/checks.yml

This file was deleted.

53 changes: 16 additions & 37 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,21 @@
name: Publish

on:
workflow_dispatch:
pull_request:
types:
- closed
branches:
- master
paths-ignore:
- '.github/**'

jobs:
run:
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
publish:
if: github.event.pull_request.merged == true
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 }}
48 changes: 0 additions & 48 deletions .github/workflows/version.yaml

This file was deleted.

Loading

0 comments on commit e39ed99

Please sign in to comment.