Merge pull request #29 from hirenf14/dependabot/npm_and_yarn/rollup-4… #19
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: Release | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: Install Dependencies & Build | |
run: | | |
npm ci | |
npm run prepublish | |
- name: Create Release Pull Request | |
uses: changesets/action@v1 | |
with: | |
version: npx changeset version | |
publish: npx changeset publish | |
commit: "ci(changesets): version packages" | |
title: "ci(changesets): version packages" | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |