Skip to content

github-publish

github-publish #13

name: github-publish
on:
workflow_dispatch:
push:
tags:
- 'v*.*.*'
jobs:
github-publish:
name: github-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://npm.pkg.github.com"
scope: "@oolio-group"
- name: Install Node Dependencies
run: yarn install
- name: Build packages
run: yarn build
env:
CI: "TRUE"
- name: Publish package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}