Skip to content

Upgrade to 2.0.8: changes in @b2data/mvp #109

Upgrade to 2.0.8: changes in @b2data/mvp

Upgrade to 2.0.8: changes in @b2data/mvp #109

Workflow file for this run

name: Publish Package
on:
push:
tags: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
- name: Install packages
run: |
echo @b2data:registry=https://npm.pkg.github.com > .npmrc
echo //npm.pkg.github.com/:_authToken=${{ secrets.REPO_SECRET }} >> .npmrc
yarn install
- name: Build packages
run: yarn build
- name: Publish NPM Package
run: |
npm pack
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}