Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
run: npm ci

- name: Build
run: npm run build
run: npm run build
38 changes: 38 additions & 0 deletions .github/workflows/steps-vs-jobs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build on PR
on:
# This workflow will only run for pull requests targeting the main branch
pull_request:
branches:
- main

jobs:
build:
name: Build Project
runs-on: ubuntu-latest
steps:
# Remember we have to check out the repository first!
- name: Checkout repository
uses: actions/checkout@v5

# This step installs the dependencies
- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

test:
name: Test Project
runs-on: ubuntu-latest
steps:
# Remember we have to check out the repository first!
- name: Checkout repository
uses: actions/checkout@v5

# This step installs the dependencies
- name: Install dependencies
run: npm ci

- name: Build
run: npm test