Skip to content

CI

CI #93

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code
name: CI
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 9 2 * *'
workflow_dispatch:
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Use Node.js 14
uses: actions/setup-node@v2-beta
with:
node-version: 14
- name: Install
run: |
yarn config set ignore-engines true
yarn
- name: Build Step
run: yarn build:lib
- name: Run Semantic Release
run: yarn semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Release to GitHub Pages
run: yarn deploy --no-silent
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}