adds changeset to publish script
This commit is contained in:
@@ -3,6 +3,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -19,13 +22,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
cmd: install --frozen-lockfile
|
cmd: install --frozen-lockfile
|
||||||
|
|
||||||
- name: yarn build
|
- name: Create Release Pull Request or Publish
|
||||||
uses: borales/actions-yarn@v4
|
id: changesets
|
||||||
|
uses: changesets/action@v1
|
||||||
with:
|
with:
|
||||||
cmd: build --frozen-lockfile
|
publish: yarn run release
|
||||||
|
env:
|
||||||
- uses: JS-DevTools/npm-publish@v1
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
token: ${{ secrets.NPM_TOKEN }}
|
|
||||||
access: public
|
|
||||||
package: ./package.json
|
|
||||||
|
|||||||
Reference in New Issue
Block a user