Skip to content

Commit

Permalink
chore: maybe fix release pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Jun 17, 2024
1 parent 03cebc7 commit a72c9c0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_ACTIVE_LTS }}
- name: enable yarn # needed in some tests
run: |-
corepack enable
yarn --version
- name: Checkout code
# see https://github.com/actions/checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -97,16 +93,20 @@ jobs:
env:
NPMJS_RELEASE_TAG: ${{ github.event.inputs.prerelease == 'true' && 'unstable-prerelease' || 'latest' }}
steps:
- name: Checkout code
# see https://github.com/actions/checkout
uses: actions/checkout@v4
with:
ref: ${{ needs.bump.outputs.version }}
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
# see https://github.com/actions/setup-node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_ACTIVE_LTS }}
- name: enable yarn # needed in some tests
run: |-
corepack enable
yarn --version
- name: Checkout code
# see https://github.com/actions/checkout
uses: actions/checkout@v4
with:
ref: ${{ needs.bump.outputs.version }}
- name: install build tools
run: npm i --ignore-scripts
# no explicit npm build. if a build is required, it should be configured as prepublish/prepublishOnly script of npm.
Expand Down

0 comments on commit a72c9c0

Please sign in to comment.