Skip to content

Commit

Permalink
Merge pull request #270 from atls/fix/github-publish
Browse files Browse the repository at this point in the history
feat(github-publish): bump version immediately on publish
  • Loading branch information
Nelfimov authored Sep 9, 2024
2 parents e06ff86 + 9eb9d1c commit 38da22b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 25 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
name: Checks

on: [pull_request]
on:
pull_request:

jobs:
check:
name: Typecheck, lint
uses: atls/shared/.github/workflows/checks.yaml@master
permissions: write-all
release:
name: Release
uses: atls/shared/.github/workflows/release.yaml@master
permissions: write-all
test:
name: Tests
uses: atls/shared/.github/workflows/tests.yaml@master
permissions: write-all
12 changes: 10 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
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
uses: atls/shared/.github/workflows/publish.yaml@master
permissions: write-all
secrets:
npmAuthToken: ${{ secrets.NPM_TOKEN }}
13 changes: 0 additions & 13 deletions .github/workflows/version.yaml

This file was deleted.

0 comments on commit 38da22b

Please sign in to comment.