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

chore(actions): update actions #8

Merged
merged 1 commit into from
Oct 25, 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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading