-
Notifications
You must be signed in to change notification settings - Fork 7
29 lines (29 loc) · 956 Bytes
/
test.yml
File metadata and controls
29 lines (29 loc) · 956 Bytes
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
name: Test
on:
push:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
SIP_A_OUTBOUND_PROXY: ${{ secrets.SIP_A_OUTBOUND_PROXY }}
SIP_A_DOMAIN: ${{ secrets.SIP_A_DOMAIN }}
SIP_A_USERNAME: ${{ secrets.SIP_A_USERNAME }}
SIP_A_PASSWORD: ${{ secrets.SIP_A_PASSWORD }}
SIP_A_AUTHORIZATION_ID: ${{ secrets.SIP_A_AUTHORIZATION_ID }}
SIP_B_OUTBOUND_PROXY: ${{ secrets.SIP_B_OUTBOUND_PROXY }}
SIP_B_DOMAIN: ${{ secrets.SIP_B_DOMAIN }}
SIP_B_USERNAME: ${{ secrets.SIP_B_USERNAME }}
SIP_B_PASSWORD: ${{ secrets.SIP_B_PASSWORD }}
SIP_B_AUTHORIZATION_ID: ${{ secrets.SIP_B_AUTHORIZATION_ID }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: yarn
- run: rm yarn.lock
- run: yarn install --registry https://registry.npmjs.org/
- run: yarn test