Skip to content

Merge branch 'main' of https://github.com/ghostdevv/extractinator #23

Merge branch 'main' of https://github.com/ghostdevv/extractinator

Merge branch 'main' of https://github.com/ghostdevv/extractinator #23

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
if: github.repository == 'ghostdevv/extractinator'
permissions:
contents: write # to create release (changesets/action)
pull-requests: write # to create pull request (changesets/action)
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Setup PNPM
uses: pnpm/[email protected]
with:
version: 8.10.2
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Create Release Pull Request
uses: changesets/action@v1
with:
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}