Skip to content

github actions for building & linting docs site #6

github actions for building & linting docs site

github actions for building & linting docs site #6

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: gha-runner-x64
steps:
- uses: actions/checkout@v4
- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: [email protected]
run: |
corepack enable && corepack prepare [email protected]
- name: Install dependencies
uses: borales/[email protected]
with:
cmd: install --frozen-lockfile
- name: Build
uses: borales/[email protected]
with:
cmd: build
env:
NODE_OPTIONS: --openssl-legacy-provider
lint:
name: Linter
runs-on: gha-runner-x64
steps:
- uses: actions/checkout@v4
- name: Set Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: [email protected]
run: |
corepack enable && corepack prepare [email protected]
- name: Install dependencies
uses: borales/[email protected]
with:
cmd: install --frozen-lockfile
- name: Build
uses: borales/[email protected]
with:
cmd: lint
env:
NODE_OPTIONS: --openssl-legacy-provider