Skip to content

Commit

Permalink
Create build-node.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
99-Knots authored May 31, 2024
1 parent 4d81b16 commit ca205d7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: build project

on:
push:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'npm'
- run: npm ci
- run: npm run build --if-present

0 comments on commit ca205d7

Please sign in to comment.