Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,8 @@ permissions:
contents: read

jobs:
build-library:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]

- name: Setup
uses: ./.github/actions/setup

- name: Build package
run: yarn build

release:
runs-on: ubuntu-latest
needs: [build-library]
permissions:
id-token: write
contents: write
Expand All @@ -38,6 +25,9 @@ jobs:
- name: Setup
uses: ./.github/actions/setup

- name: Build package
run: yarn build

- name: Build tarball
run: |
mkdir -p release
Expand All @@ -46,6 +36,6 @@ jobs:
- name: Run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO: remove NPM_TOKEN
# TODO: remove NPM_TOKEN
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release
Loading