Files
oki-podcast-reader/.github/workflows/publish.yml
T
Ollie Taylor 17bf099518 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
2023-02-23 13:36:30 +00:00

33 lines
703 B
YAML

name: 'Publish to NPM'
on:
push:
branches:
- 'main'
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: use node v16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: yarn install
uses: borales/actions-yarn@v4
with:
cmd: install --frozen-lockfile
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: yarn run release
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}