Skip to content

Merge pull request #15 from bob-collective/feat/sign-message #6

Merge pull request #15 from bob-collective/feat/sign-message

Merge pull request #15 from bob-collective/feat/sign-message #6

Workflow file for this run

name: "Publish snap to npm"
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: ./packages/snap
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
scope: "@gobob"
cache: yarn
registry-url: https://registry.npmjs.org
always-auth: true
- name: Install dependencies
run: yarn install
- name: Test
run: yarn test
- name: Build
run: yarn build
- name: Publish to NPM
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}