Skip to content

chore: bump package version #8

chore: bump package version

chore: bump package version #8

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 }}