Skip to content

Commit

Permalink
ci: removed duplicate publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed Oct 15, 2024
1 parent 10ac4eb commit ffbc9dc
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,7 @@ jobs:
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
build_and_publish:
needs: [release]
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
- uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- name: install dependencies
run: npm install --frozen-lockfile
- name: build and publish studio
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public

NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# build_and_publish_electron:
# needs: [release]
# permissions:
Expand Down

0 comments on commit ffbc9dc

Please sign in to comment.