providers/.github/workflows/tests.yml

35 lines
554 B
YAML
Raw Normal View History

2023-06-21 12:58:34 +00:00
name: Testing
on:
pull_request:
push:
branches:
- master
- dev
jobs:
testing:
name: Testing
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
2023-09-28 17:45:41 +00:00
2023-06-21 12:58:34 +00:00
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
2023-09-28 17:45:41 +00:00
2023-06-21 12:58:34 +00:00
- name: Install packages
run: npm install
2023-09-28 17:45:41 +00:00
2023-06-21 12:58:34 +00:00
- name: Run tests
run: npm run test
2023-09-28 17:45:41 +00:00
- name: Run integration tests
2023-09-28 17:50:31 +00:00
run: npm run build && npm run test:integration
2023-09-28 17:45:41 +00:00
2023-06-21 12:58:34 +00:00
- name: Run linting
run: npm run lint