Skip to content

📦 Releasing new version v0.0.5-alpha.5 #43

📦 Releasing new version v0.0.5-alpha.5

📦 Releasing new version v0.0.5-alpha.5 #43

Workflow file for this run

# Runs on release tag push, but not prereleases, we hope!
name: Release & Publish
on:
push:
tags:
- 'v*.*.*'
permissions:
packages: write
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v18
uses: actions/setup-node@v3
with:
node-version: x.18
registry-url: 'https://npm.pkg.github.com'
cache: 'npm'
- name: Build all bundles
env:
NODE_ENV: production
run: |
npm ci --include=dev
npm run build
- uses: ncipollo/release-action@v1
with:
name: '${{ github.ref_name }}'
body: 'Automated release of ${{ github.ref_name }} built by ${{ github.actor }}.'
artifacts: 'dist-bundle/*'
- name: Publish release to Github Packages
run: |
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}