Skip to content

Commit

Permalink
Merge pull request #46 from Kyro3400/Build-Patch
Browse files Browse the repository at this point in the history
Add workflow for build command
  • Loading branch information
Kyro3400 authored Aug 23, 2024
2 parents 1143db1 + 702249a commit 5db244d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Docs Build

on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm i
- run: npm run build

0 comments on commit 5db244d

Please sign in to comment.