Skip to content

Commit

Permalink
Merge pull request #140 from amosproj/101-github-action-include-front…
Browse files Browse the repository at this point in the history
…end-tests

101 GitHub action include frontend tests
  • Loading branch information
flo0852 authored Dec 5, 2024
2 parents 8fe1069 + f1d05bc commit 3866dca
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/ci_test2.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/frontend_test_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Frontend Tests

# Trigger on push to dev and on pull request creation, excluding "deliverables" folder
on:
push:
branches:
- dev
paths-ignore:
- 'deliverables/**'
pull_request:
branches:
- dev
paths-ignore:
- 'deliverables/**'

jobs:
test:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the code
- name: Checkout code
uses: actions/checkout@v3

# Step 2: Set up Node.js environment
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

# Step 3: Install dependencies
- name: Install dependencies
run: npm ci

# Step 4: Run tests
- name: Run tests
run: npx nx run metadata-analyzer-frontend:test

0 comments on commit 3866dca

Please sign in to comment.