Skip to content

Commit

Permalink
ci: fix git commit perms
Browse files Browse the repository at this point in the history
  • Loading branch information
adiwajshing committed Oct 29, 2024
1 parent bb3f723 commit fbbb1b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Publish to NPM

permissions:
contents: write

# Manually triggered workflow
on:
workflow_dispatch: {}
Expand All @@ -15,6 +18,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
env:
GH_TOKEN: ${{ github.token }}

- name: Setup Node.js
uses: actions/setup-node@v3
Expand Down
4 changes: 3 additions & 1 deletion js/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,6 @@ Now, you can use the `local file fetcher` right out of the box.
3. `npm i`
4. `npm run test` to run the tests

Note: just FYI, the circuit files are symlinked to the root of the repo (i.e. `resources` & `bin` folders). So during local dev, the default local fetching works right out of the box.
Note: just FYI, the circuit files are symlinked to the root of the repo (i.e. `resources` & `bin` folders). So during local dev, the default local fetching works right out of the box.

To publish the package, we've a Github Action that will build the package & publish it to the Github Package Registry. It can be manually triggered by running the workflow `Publish to NPM` in the Actions tab.

0 comments on commit fbbb1b7

Please sign in to comment.