Skip to content

ci: update github actions #1

ci: update github actions

ci: update github actions #1

Workflow file for this run

name: "Publish snap to npm"
on:
push:
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
cache: yarn
- 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 }}