Skip to content

Commit

Permalink
chore: add build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ha-ccoon committed Nov 9, 2024
1 parent 19a5512 commit 2fcfcc9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Frontend CI

on:
push:
branches: ['develop', 'release/*', 'main']
pull_request:
branches: ['develop', 'release/*', 'main']

jobs:
install:
runs-on: ubuntu-24.04

strategy:
matrix:
node-version: [22.x]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
run: npm install

- name: Run build
run: npm run build

- name: Run tests
run: npm run test

0 comments on commit 2fcfcc9

Please sign in to comment.