Skip to content

Commit

Permalink
chore: configured "test" workflow (github actions)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianmusial committed Mar 14, 2024
1 parent 63eda82 commit 2adfe86
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Heroku deploy
name: Demo deploy

on:
push:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test suite

on:
pull_request:
branches:
- master
- main
- next

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build packages
run: npm run build
- name: Lint code
run: npm run lint
- name: Run unit tests
run: npm run test

0 comments on commit 2adfe86

Please sign in to comment.