Skip to content

Commit

Permalink
Use node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
olimsaidov committed Nov 12, 2024
1 parent 171b6d8 commit c81a459
Show file tree
Hide file tree
Showing 5 changed files with 1,280 additions and 17 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ on:

jobs:
build:

runs-on: ubuntu-20.04

strategy:
matrix:
node-version: [ 16.x, 18.x ]
node-version: [ 18 ]

steps:

- uses: actions/checkout@v3

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -31,4 +31,3 @@ jobs:
- run: npm ci --legacy-peer-deps

- run: ./node_modules/.bin/mocha -r dotenv/config --exit -t 5000

11 changes: 5 additions & 6 deletions .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,21 @@ on:

jobs:
build:

runs-on: ubuntu-20.04

steps:

- uses: actions/checkout@v3
- name: Setup Node.js 16.x

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18
cache: npm

- run: npm ci --legacy-peer-deps

# - run: npm run build --if-present

- run: npm run test

2 changes: 2 additions & 0 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
workflows: ["Backend Tests", "Browser Tests"]
types:
- completed
branches:
- main

jobs:
run_after_tests:
Expand Down
1 change: 1 addition & 0 deletions .source_version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Loading

0 comments on commit c81a459

Please sign in to comment.