Skip to content

Commit

Permalink
update pr workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RomKadria committed Feb 15, 2024
1 parent fe14af2 commit 285a0c8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
on: pull_request
name: Pull Request
jobs:
validate:
test:
name: Run validations
runs-on: ubuntu-latest
strategy:
matrix:
package: ['api', 'api-types', setup-api]
steps:
- uses: actions/checkout@master
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.x'
- name: Install Dependencies
run: cd ${{ matrix.package }} && npm install
- name: Run Tests
run: cd ${{ matrix.package }} && npm test
- run: npm ci
- run: npm run prettier --workspaces
- run: npm run lint --workspaces
Expand Down

0 comments on commit 285a0c8

Please sign in to comment.