-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1.05 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Test
on:
pull_request:
permissions:
pull-requests: write
issues: write
jobs:
test-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install deps
run: npm i --workspaces
- name: Test Shared package
run: cd apps/shared && npm run test
- name: Generate and deploy Allure Report
uses: cybersokari/[email protected]
with:
allure_results_path: 'apps/shared/allure-results'
storage_bucket: ${{vars.STORAGE_BUCKET}}
slack_channel: ${{secrets.SLACK_CHANNEL_ID}}
slack_token: ${{secrets.SLACK_TOKEN}}
show_history: true
retries: 10
prefix: 'pr-test'
pr_comment : 'true'
github_token: ${{secrets.PERSONAL_ACCESS_TOKEN}}
google_credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}