Skip to content

Commit

Permalink
Setup build action with github actions
Browse files Browse the repository at this point in the history
The build action should be used before merging pull-requests. It should validate if the project can be build
  • Loading branch information
melledijkstra authored Nov 10, 2023
1 parent f49f64c commit 34673e7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build Check

on:
pull_request:
branches: [ main ]
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Run build
run: npm run build

0 comments on commit 34673e7

Please sign in to comment.