Skip to content

Commit

Permalink
chore(ci): fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
subeshb1 committed Mar 27, 2024
1 parent 2ce5fc6 commit 5d50595
Show file tree
Hide file tree
Showing 3 changed files with 14,043 additions and 12,971 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@ name: "Publish"

on:
workflow_dispatch:
push:
branches:
- master


permissions:
id-token: write
contents: read
contents: write
packages: write

jobs:
deploy:
runs-on: ubuntu-latest
name: "${{ github.ref_name }} "
env:
NODE_AUTH_TOKEN: ${{ secrets.ACCESS_TOKEN_GITHUB }}
GH_TOKEN: ${{ secrets.ACCESS_TOKEN_GITHUB }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v3

Expand All @@ -27,6 +32,8 @@ jobs:

- run: npm run test

- run: npm run build

- name: Publish
run: npm run semantic-release

Expand Down
Loading

0 comments on commit 5d50595

Please sign in to comment.