Skip to content

Merge pull request #70 from Space48/release/v3.0.0 #75

Merge pull request #70 from Space48/release/v3.0.0

Merge pull request #70 from Space48/release/v3.0.0 #75

Workflow file for this run

name: Create release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@space48'
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- run: npm publish .
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}