Skip to content

Commit

Permalink
chore(actions): update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Oct 25, 2024
1 parent 1bac5ff commit 22b6b02
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ concurrency:
cancel-in-progress: true

on:
push:
branches-ignore:
- main
- alpha
workflow_dispatch:
workflow_call:

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: Pull request checks
on:
pull_request:
jobs:
build:
uses: ./.github/workflows/build.yml
5 changes: 1 addition & 4 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ concurrency:
cancel-in-progress: true

on:
push:
branches:
- main
workflow_dispatch:
workflow_call:
jobs:
Expand All @@ -20,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: 20.x
node-version: 18.x
- run: yarn --frozen-lockfile
- run: yarn publish-docs
env:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ on:
- alpha

jobs:
build:
uses: ./.github/workflows/build.yml
secrets: inherit
## publish-docs builds so we know that the app is built and tested
publish-docs:
uses: ./.github/workflows/publish-docs.yml
secrets: inherit
release:
runs-on: ubuntu-latest
needs: build
needs: publish-docs
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
Expand Down

0 comments on commit 22b6b02

Please sign in to comment.