Allow for inlining statement values #37
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Experimental Packages | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy | |
permissions: | |
# Required for `actions/checkout@v3` | |
contents: read | |
# Required for `thollander/actions-comment-pull-request@v2` | |
pull-requests: write | |
steps: | |
- name: Code Checkout | |
uses: actions/[email protected] | |
# Needed only for bumping package version and publishing npm packages. | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
- run: echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN_READ_AND_WRITE }}' > ~/.npmrc | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install Dependencies | |
run: bun install --frozen-lockfile | |
- name: Build Package | |
run: bun run build | |
- name: Bump Package | |
uses: ./.github/actions/bump-version | |
- name: Comment on PR | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
comment_tag: packages_announcement | |
message: | | |
Released an experimental package: | |
```bash | |
bun add @ronin/compiler@${{ env.VERSION_TAG }} | |
``` | |
This package will be removed after the pull request has been merged. |