Skip to content

Commit

Permalink
Add PR workflow (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsonzimmermann authored Feb 27, 2024
1 parent 19aa3fd commit ddd01b7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Publish content before merging

on:
pull_request:
types: [enqueued]
branches: [main, publish-article-pipeline]
merge_group:
types: [checks_requested]

jobs:
publish:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish content before merging

on:
pull_request:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm run build:utils
- run: npm run posts:publish

0 comments on commit ddd01b7

Please sign in to comment.