Skip to content

v5.14.0

v5.14.0 #69

Workflow file for this run

name: Release
on:
release:
types: [published]
workflow_dispatch:
jobs:
tag:
name: Add/update 'latest' tag
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run latest-tag
uses: EndBug/latest-tag@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
docs:
name: Update docs
runs-on: ubuntu-latest
needs: tag
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node 14.x
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Install dependencies
run: npm install
- name: Build documentation
run: npm run docs
- name: Deploy documentation
uses: dbots-pkg/action-docs@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-npm:
name: Publish on NPM
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js for NPM
uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish-gpr:
name: Publish on GPR
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js for GPR
uses: actions/setup-node@v3
with:
registry-url: 'https://npm.pkg.github.com/'
scope: '@snazzah'
- run: yarn
- run: yarn run gpr
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}