Skip to content

Commit

Permalink
chore: uppdate workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
vinit717 committed Oct 14, 2024
1 parent 4f0fd7b commit 6761a56
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,26 @@ on:
branches: [main, develop]
push:
branches: [main, develop]

jobs:
Lint-Check:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn
- run: yarn test
env:
CI: true
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgbm-dev libasound2
- name: Install Google Chrome
run: |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f
- name: Install Yarn
run: npm install -g yarn
- name: Install project dependencies
run: yarn install
- name: Run tests
run: yarn test
env:
CI: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"check": "prettier --check .",
"fix": "prettier --write .",
"test": "jest",
"test": "jest --config jest.config.js",
"start": "node server.js",
"dev": "local-ssl-proxy --source 443 --target 5500 -n dev.realdevsquad.com"
},
Expand Down

0 comments on commit 6761a56

Please sign in to comment.