Squashed commit of the following:
commit02ab774699Merge:0e5cda539b8b6aAuthor: Ollie Taylor <13766232+OllieJT@users.noreply.github.com> Date: Thu Feb 23 13:33:00 2023 +0000 Merge branch 'main' of https://github.com/OllieJT/svelte-podcast commit39b8b6a983Merge:0e5cda58260a20Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com> Date: Thu Feb 23 13:29:46 2023 +0000 Init Changesets (#4) commit8260a2078fAuthor: Ollie Taylor <13766232+OllieJT@users.noreply.github.com> Date: Thu Feb 23 13:28:04 2023 +0000 linting commit1336175d8aAuthor: Ollie Taylor <13766232+OllieJT@users.noreply.github.com> Date: Thu Feb 23 13:26:45 2023 +0000 update gh tooken name commitfbc2d6c581Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com> Date: Thu Feb 23 12:26:23 2023 +0000 adds changeset to publish script commit2665d2fd54Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com> Date: Thu Feb 23 12:26:11 2023 +0000 updates changeset config commit517219f961Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com> Date: Thu Feb 23 12:25:50 2023 +0000 adds release script commitdda33a4426Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com> Date: Thu Feb 23 12:13:03 2023 +0000 add changesets
This commit is contained in:
@@ -3,6 +3,9 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -19,13 +22,11 @@ jobs:
|
||||
with:
|
||||
cmd: install --frozen-lockfile
|
||||
|
||||
- name: yarn build
|
||||
uses: borales/actions-yarn@v4
|
||||
- name: Create Release Pull Request or Publish
|
||||
id: changesets
|
||||
uses: changesets/action@v1
|
||||
with:
|
||||
cmd: build --frozen-lockfile
|
||||
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
access: public
|
||||
package: ./package.json
|
||||
publish: yarn run release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user