Skip to content

0.1.0

0.1.0 #7

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
- "v*.*.*-*"
jobs:
npm:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Set Yarn version
run: yarn policies set-version v1.22.19
- name: Yarn install
uses: nick-invision/retry@v2
with:
max_attempts: 3
retry_on: error
retry_wait_seconds: 15
timeout_minutes: 5
command: yarn install --frozen-lockfile
- name: Compile
run: npm run build
- name: Set NPM token
run: echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: NPM publish
run: npm publish --access public