Skip to content

Commit

Permalink
fix ci again
Browse files Browse the repository at this point in the history
  • Loading branch information
Le-Caignec committed Jul 5, 2024
1 parent 2e591c1 commit 288dcd2
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,8 @@ on:
description: 'Trigger package publication'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: cd ./cli && npm ci

publish-gpr:
if:
github.event_name == 'workflow_dispatch' && github.event.inputs.publish ==
'true'
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -30,7 +19,6 @@ jobs:
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
- run: cd ./cli && npm ci
- run: cd ./cli && npm publish
- run: cd ./cli && npm ci && npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}

0 comments on commit 288dcd2

Please sign in to comment.