Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
96bc741
Create license.txt
adhocmaster Jan 26, 2024
46f40dd
Created node.js.yml using template
anlhu Jan 29, 2024
dd9e305
Run tests on any push, need to install dependencies?
anlhu Jan 29, 2024
942b687
only want Node version 21
anlhu Jan 29, 2024
94ea012
build/test in frontend/backend
anlhu Jan 29, 2024
fa89818
need to install before testing
anlhu Jan 29, 2024
32e6833
Environment variable to ignore warnings, compress commands
anlhu Jan 29, 2024
6bcc203
Separate installs and builds and test, do backend first
anlhu Jan 29, 2024
8f297da
Backend build requires NodeNext here
anlhu Jan 29, 2024
aa29bd5
run frontend first, tests may fail now
anlhu Jan 29, 2024
05b84ea
fix disallowed 3 layer reference, comment out default frontent test
anlhu Jan 30, 2024
dd2a41d
Merge branch 'github-actions' of github.com:adhocmaster/ScrumMate int…
anlhu Jan 30, 2024
74edcea
get backend tests working using jest
anlhu Jan 30, 2024
c893ea9
badge on README.md
anlhu Jan 30, 2024
1a1e443
fix badge on README
anlhu Jan 30, 2024
dc8aeae
rename frontend test since it is just a sample
anlhu Jan 30, 2024
6663f71
Merge branch 'github-actions' of github.com:adhocmaster/ScrumMate int…
anlhu Jan 30, 2024
ef23732
switch position from static to absolute so there is not white above it
anlhu Jan 30, 2024
930f72e
fix backend test file name
anlhu Jan 30, 2024
ec674fa
in-memory version of mongodb dependency, for testing
anlhu Jan 31, 2024
e092363
no more db test, switching to typeorm anyway
anlhu Feb 4, 2024
fc178d8
Merge pull request #2 from adhocmaster/fix-navbar-position
arthurrfoy Feb 4, 2024
c977d1f
Merge pull request #1 from adhocmaster/github-actions
anlhu Feb 4, 2024
27645f4
removed node modules
mialaniz Feb 4, 2024
1295a4c
TypeORM Files
mialaniz Feb 9, 2024
31603c3
initialize project in tests dir
anlhu Feb 9, 2024
8278d06
user and project entities bare bones
anlhu Feb 12, 2024
b040696
rest of entity files, unrevised, sprint needs more fields
anlhu Feb 12, 2024
fa5168a
updated entities list so can relational each other
anlhu Feb 12, 2024
edd534e
formatting, unpacked user auth
anlhu Feb 12, 2024
0f8f2e4
able to edit release plans. DB update doesn't work yet though.
Feb 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file modified .DS_Store
Binary file not shown.
36 changes: 36 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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: Node.js CI

on: [push, workflow_dispatch]

env:
CI: false # to not treat warnings as failures

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [21]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm install && (cd frontend && npm install) && (cd backend && npm install)

- run: (cd frontend && npm run build)
- run: (cd frontend && npm test --watchAll)

- run: (cd backend && npm run build)
- run: (cd backend && npm test --watchAll)

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.

### `npm test`
### `npm test` ![Node.js Cl](https://github.com/adhocmaster/ScrumMate/actions/workflows/node.js.yml/badge.svg)

https://github.com/adhocmaster/ScrumMate/actions/workflows/node.js.yml/badge.svg
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

Expand Down
6 changes: 6 additions & 0 deletions backend/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
transform: {'^.+\\.ts?$': 'ts-jest'},
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node']
};
1 change: 0 additions & 1 deletion backend/node_modules/.bin/acorn

This file was deleted.

17 changes: 0 additions & 17 deletions backend/node_modules/.bin/acorn.cmd

This file was deleted.

28 changes: 0 additions & 28 deletions backend/node_modules/.bin/acorn.ps1

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/mime

This file was deleted.

17 changes: 0 additions & 17 deletions backend/node_modules/.bin/mime.cmd

This file was deleted.

28 changes: 0 additions & 28 deletions backend/node_modules/.bin/mime.ps1

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/nodemon

This file was deleted.

17 changes: 0 additions & 17 deletions backend/node_modules/.bin/nodemon.cmd

This file was deleted.

28 changes: 0 additions & 28 deletions backend/node_modules/.bin/nodemon.ps1

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/nodetouch

This file was deleted.

17 changes: 0 additions & 17 deletions backend/node_modules/.bin/nodetouch.cmd

This file was deleted.

28 changes: 0 additions & 28 deletions backend/node_modules/.bin/nodetouch.ps1

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/nopt

This file was deleted.

17 changes: 0 additions & 17 deletions backend/node_modules/.bin/nopt.cmd

This file was deleted.

28 changes: 0 additions & 28 deletions backend/node_modules/.bin/nopt.ps1

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/semver

This file was deleted.

17 changes: 0 additions & 17 deletions backend/node_modules/.bin/semver.cmd

This file was deleted.

28 changes: 0 additions & 28 deletions backend/node_modules/.bin/semver.ps1

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/ts-node

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/ts-node-cwd

This file was deleted.

17 changes: 0 additions & 17 deletions backend/node_modules/.bin/ts-node-cwd.cmd

This file was deleted.

Loading