Skip to content

bump version v1.1.0

bump version v1.1.0 #3

Workflow file for this run

name: Publish npm packages
on:
workflow_dispatch:
push:
tags:
- v*
jobs:
test:
uses: ./.github/workflows/build-lint-test.yml
publish-npm:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
registry-url: https://registry.npmjs.org
cache: 'yarn'
- run: yarn --immutable --immutable-cache
- name: Restore snap build cache
uses: actions/cache@v3
with:
path: ./packages/snap/dist
key: snap-${{ runner.os }}-${{ github.sha }}
- run: yarn build
- name: Publish package on npm
working-directory: packages/snap
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}