Skip to content

Commit

Permalink
add github actions for building project
Browse files Browse the repository at this point in the history
  • Loading branch information
hkbu-kennycheng committed Sep 19, 2024
1 parent a5fdb7b commit 5541541
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Node.js CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm install
- run: npm run eslint:fix
- run: npm run build
- uses: actions/upload-artifact@v2
with:
name: dist

0 comments on commit 5541541

Please sign in to comment.