Skip to content

Commit

Permalink
Add CI workflow to build & lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ampflower committed Sep 12, 2024
1 parent 6931c2a commit 5183e6e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
push:
tags-ignore:
- '**'
branches:
- '**'
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Build with NPM
run: npm run build
- name: Test ESLint
run: npm run lint
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
build/

0 comments on commit 5183e6e

Please sign in to comment.