Skip to content

Commit

Permalink
Merge pull request #1444 from NullVoxPopuli/release-workflow
Browse files Browse the repository at this point in the history
Add release workflow
  • Loading branch information
NullVoxPopuli authored Oct 12, 2023
2 parents 68d371b + 1f9d9fc commit c55ad0c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
push:
tags:
- 'v*'

jobs:
release:
name: 'Tagged Release'
runs-on: 'ubuntu-latest'

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-registry-url: "https://registry.npmjs.org"
- run: pnpm build

# > This is not interactive right?
# correct
#
# > This doesn't bump the version, just publish right?
# correct
#
# > Do we have a way to tell it to ignore already published packages in case we need to re-run the job?
# this is default behavior
#
# > It will skip the private packages, presumably?
# yes
- run: pnpm -r publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c55ad0c

Please sign in to comment.