Skip to content

Commit 0de4cba

Browse files
committed
chore: merge separate workflows into parallel jobs
1 parent 4929094 commit 0de4cba

File tree

2 files changed

+15
-41
lines changed

2 files changed

+15
-41
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/test.yml renamed to .github/workflows/build_test.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33

4-
name: Test
4+
name: Build
55

66
on:
77
push:
@@ -25,7 +25,21 @@ env:
2525
jobs:
2626
build:
2727
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: Use Node.js
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version-file: .nvmrc
34+
cache: npm
35+
cache-dependency-path: ./package-lock.json
36+
- run: npm ci --no-audit --no-fund --prefer-offline
37+
- run: npm run lint:errors
38+
- run: npm run build:for:cms
39+
- run: npm run generate:jsonschema:dist
2840

41+
test:
42+
runs-on: ubuntu-latest
2943
steps:
3044
- uses: actions/checkout@v4
3145
- name: Use Node.js

0 commit comments

Comments
 (0)