Skip to content

Commit

Permalink
ci: publish package to npmjs
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli committed Sep 13, 2023
1 parent 030dc18 commit 4cb813d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish package to npmjs
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: onchain/rollups

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: actions/setup-node@v3
with:
node-version: "16"
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
run: yarn install

- name: Publish package
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 4cb813d

Please sign in to comment.