Skip to content

Merge pull request #2 from blubbofi/merge-0.2.3 #5

Merge pull request #2 from blubbofi/merge-0.2.3

Merge pull request #2 from blubbofi/merge-0.2.3 #5

Workflow file for this run

on:
push:
tags:
- "v*.*.*"
workflow_dispatch:
name: Publish to NPM
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
always-auth: true
registry-url: "https://registry.npmjs.org"
- name: Install Yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Publish to npm
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Verify publish
run: npm info @blubbofi/sandbox