Skip to content

Commit

Permalink
gh actions publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfysh committed Aug 7, 2024
1 parent 1dbd399 commit 57ff46d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .changeset/stale-jobs-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@getlang/get": minor
"@getlang/lib": minor
"@getlang/parser": minor
"@getlang/utils": minor
---

x
3 changes: 1 addition & 2 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: default
on: push
on: workflow_call

jobs:
checks:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches:
- main

jobs:
checks:
uses: ./.github/workflows/checks.yaml

publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun --filter @getlang/parser compile
- uses: changesets/action@v1
with:
publish: bun pub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 57ff46d

Please sign in to comment.