Skip to content

Commit

Permalink
chore: Update release workflow to use "npm publish" instead of "yarn …
Browse files Browse the repository at this point in the history
…publish"
  • Loading branch information
CharafLachachi committed Aug 17, 2024
1 parent 5a4937f commit 2404912
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
description: 'custom version'
required: false

env:
SKIP_YARN_COREPACK_CHECK: true
COREPACK_ROOT: true

jobs:
build-library:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -79,7 +75,7 @@ jobs:
scope: '@ila-26'

- name: Publish package
run: yarn publish --tag ${{ env.TAG }} --registry=https://npm.pkg.github.com/
run: npm publish --tag ${{ env.TAG }} --registry=https://npm.pkg.github.com/
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref == 'refs/heads/main' && 'release' || github.ref == 'refs/heads/native' && 'dev' || startsWith(github.ref, 'refs/heads/release/') && 'pre-release' || 'custom' }}

0 comments on commit 2404912

Please sign in to comment.