Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add web-embed GH actions
  • Loading branch information
bendersej committed Jan 19, 2025
commit 3d24d6d4c59d3a8ab0b27734a35d58c702934a9d
4 changes: 2 additions & 2 deletions .github/workflows/react.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Test formatting
- name: Formatting
run: npm run test:format

- name: Test types
- name: Types
run: npm run test:types
43 changes: 43 additions & 0 deletions .github/workflows/web.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Web

on:
push:
branches:
- main
paths:
- web/**
- .github/workflows/web.yaml
pull_request:
branches:
- main
paths:
- web/**
- .github/workflows/web.yaml

jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web

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

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"

- name: Install dependencies
run: npm ci

- name: Formatting
run: npm run test:format

- name: Types
run: npm run test:types

- name: Unit tests
run: npm run test:unit
Loading