Squashed commit of the following:

commit 02ab774699
Merge: 0e5cda5 39b8b6a
Author: 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

commit 39b8b6a983
Merge: 0e5cda5 8260a20
Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com>
Date:   Thu Feb 23 13:29:46 2023 +0000

    Init Changesets (#4)

commit 8260a2078f
Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com>
Date:   Thu Feb 23 13:28:04 2023 +0000

    linting

commit 1336175d8a
Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com>
Date:   Thu Feb 23 13:26:45 2023 +0000

    update gh tooken name

commit fbc2d6c581
Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com>
Date:   Thu Feb 23 12:26:23 2023 +0000

    adds changeset to publish script

commit 2665d2fd54
Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com>
Date:   Thu Feb 23 12:26:11 2023 +0000

    updates changeset config

commit 517219f961
Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com>
Date:   Thu Feb 23 12:25:50 2023 +0000

    adds release script

commit dda33a4426
Author: Ollie Taylor <13766232+OllieJT@users.noreply.github.com>
Date:   Thu Feb 23 12:13:03 2023 +0000

    add changesets
This commit is contained in:
Ollie Taylor
2023-02-23 13:36:30 +00:00
parent 3e7ab99121
commit 17bf099518
5 changed files with 1553 additions and 27 deletions
+10 -9
View File
@@ -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 }}