Skip to content

Commit

Permalink
chore: add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Aug 11, 2023
1 parent 588db8a commit 7c38a07
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- main

jobs:

Release:
# prevents this action from running on forks
if: github.repository == 'manzt/reference-spec-reader'

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- run: pnpm install --frozen-lock

- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 7c38a07

Please sign in to comment.