Skip to content

Commit

Permalink
ci: make npm deps installable
Browse files Browse the repository at this point in the history
  • Loading branch information
jankapunkt committed Oct 25, 2023
1 parent add449d commit 3f31438
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Backend Test suite
name: Backend Tests

on:
push:
Expand All @@ -8,7 +8,7 @@ on:

jobs:
lintcode:
name: Javascript lint
name: Backend JS lint
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -31,7 +31,7 @@ jobs:
- run: cd backend && npm run lint:code

tests:
name: Meteor ${{ matrix.meteor }} tests
name: Backend Meteor ${{ matrix.meteor }} tests
runs-on: ubuntu-latest
steps:
- name: checkout
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/jest_test.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: Jest Test
name: App Tests


on:
push:
branches:
- main

pull_request:


jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -29,7 +27,7 @@ jobs:
${{ runner.os }}-node-
- name: install node modules
run: cd src && npm ci
run: cd src && npm i --legacy-peer-deps --force

- name: run jest tests
run: cd src && npm test
4 changes: 2 additions & 2 deletions .github/workflows/jsdoc_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: JSDOC Test
name: App Build Docs

on:
push:
Expand Down Expand Up @@ -26,6 +26,6 @@ jobs:
${{ runner.os }}-node-
- name: install node modules
run: cd src && npm ci
run: cd src && npm i --legacy-peer-deps --force
- name: run jsdoc
run: cd src && npm run docs
4 changes: 2 additions & 2 deletions .github/workflows/lint_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint Test
name: App JS Lint

on:
push:
Expand Down Expand Up @@ -26,6 +26,6 @@ jobs:
${{ runner.os }}-node-
- name: install node modules
run: cd src && npm ci
run: cd src && npm i --legacy-peer-deps --force
- name: run standard js
run: cd src && npm run lint

0 comments on commit 3f31438

Please sign in to comment.