Skip to content

Commit

Permalink
Remove jest config and update package dependencies
Browse files Browse the repository at this point in the history
Deleted the `jest.config.ts` file from the client and updated `package-lock.json` to reflect version changes and the addition of new dependencies. This also includes several specific esbuild binaries for different platforms.
  • Loading branch information
SquirrelDevelopper committed Oct 11, 2024
1 parent 2e0dbbb commit 7f67f31
Show file tree
Hide file tree
Showing 7 changed files with 3,082 additions and 47 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/test-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 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
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Tests - Client

on:
push:
branches: [ "master" ]
paths:
- 'client/**'
pull_request:
branches: [ "master" ]
paths:
- 'client/**'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.3.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ${{github.workspace}}/client/package-lock.json
- name: Install
working-directory: ./shared-lib
run: npm ci
- name: Build
working-directory: ./shared-lib
run: npm run build --if-present
- name: Install
working-directory: ./client
run: npm ci
- name: Build
working-directory: ./client
run: npm run build --if-present
- name: Test
working-directory: ./client
run: npm test
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# .github/workflows/molecule.yml

name: Molecule Tests
name: Test - Playbooks

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# 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
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: CI Test
name: Tests - Server

on:
push:
branches: [ "master" ]
paths:
- 'server/**'
pull_request:
branches: [ "master" ]
paths:
- 'server/**'
workflow_dispatch:

jobs:
Expand Down
30 changes: 0 additions & 30 deletions client/jest.config.ts

This file was deleted.

Loading

0 comments on commit 7f67f31

Please sign in to comment.