Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump yarn, versions, convert to esm #10

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
Loading