Skip to content

Commit

Permalink
added github actions to devcontaienr + updated github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Reptudn committed Feb 14, 2025
1 parent cc304f8 commit cd3ea6c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"tomoki1207.pdf",
"xabikos.JavaScriptSnippets",
"qwtel.sqlite-viewer",
"xabikos.JavaScriptSnippets"
"xabikos.JavaScriptSnippets",
"github.vscode-github-actions"
]
}
},
Expand Down
24 changes: 18 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,21 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci --prefix api
- run: npm ci --prefix app
- run: npm run build --prefix api
- run: npm run build --prefix app
- run: npm test --prefix api
- run: npm test --prefix app
- name: Install dependencies for API
run: npm ci
working-directory: ./api
- name: Install dependencies for App
run: npm ci
working-directory: ./app
- name: Build API
run: npm run build
working-directory: ./api
- name: Build App
run: npm run build
working-directory: ./app
- name: Test API
run: npm test
working-directory: ./api
- name: Test App
run: npm test
working-directory: ./app

0 comments on commit cd3ea6c

Please sign in to comment.