Skip to content

3.0.0-rc

3.0.0-rc #8

Workflow file for this run

name: Automation
on:
push:
branches: [ '**' ]
tags: [ '**' ]
release:
types: [ 'created' ]
pull_request:
branches: [ '**' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run Unit Tests
uses: coactions/setup-xvfb@v1
with:
run: npm test
- name: Upload to Release
if: github.event_name == 'release'
uses: softprops/action-gh-release@v1
with:
files: dist/*