Skip to content

Commit

Permalink
Add workflow for running stress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Nov 26, 2023
1 parent 82a8f77 commit d4ee915
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-stress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint, build, and run stress tests
on:
push:
branches: [main, 231125-build-workflow-for-stress-tests]

jobs:
build-stress:
runs-on: ubuntu-latest
steps:
- name: Set Swap Space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 24
- name: Checkout the repository
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install npm dependencies
run: npm install
- name: Run linter
run: npm run lint-check
- name: Run TypeScript compiler
run: npm run build
- name: Run tests
run: npm test
- name: Run stress tests
run: npm run stress

0 comments on commit d4ee915

Please sign in to comment.