Skip to content

Docs workflow only runs on release #353

Docs workflow only runs on release

Docs workflow only runs on release #353

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
workflow_dispatch:
workflow_call:
pull_request:
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: ${{ matrix.os }}
permissions:
contents: read
id-token: write
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Formatting
run: npm run format:check
- name: Linting
run: npm run lint
- name: Unit tests
run: npm run test
- name: Build
run: npm run build