Skip to content

Commit

Permalink
react CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
andychenbruce committed Feb 2, 2024
1 parent 77f0a0c commit 32658a5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "React"

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

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install
working-directory: ./frontend
run: npm install
- name: Build
working-directory: ./frontend
run: npm run build
- name: Run tests
working-directory: ./frontend
run: npm run tests

0 comments on commit 32658a5

Please sign in to comment.