Skip to content

Merge pull request #193 from K-Phoen/changeset-release/main #82

Merge pull request #193 from K-Phoen/changeset-release/main

Merge pull request #193 from K-Phoen/changeset-release/main #82

Workflow file for this run

name: Release
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Create Changeset PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- name: Install Dependencies
run: yarn install --immutable
- name: Build type declarations
run: yarn tsc
- name: Build packages
run: yarn build
- name: Enable non-immutable yarn installs
run: yarn config set -H enableImmutableInstalls false
- name: Create Release Pull Request
uses: changesets/action@v1
with:
version: yarn version
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}