-
Notifications
You must be signed in to change notification settings - Fork 22
38 lines (36 loc) · 1.33 KB
/
ci.yml
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
35
36
37
38
name: 'Continuous Integration'
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build
run: yarn all
- name: Run action
uses: ./
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
# microsoft_teams_webhook: ${{ secrets.MICROSOFT_TEAMS_WEBHOOK }}
# slack_webhook: ${{ secrets.SLACK_WEBHOOK }}
# count: 20
# pager_duty_integration_key: ${{ secrets.PAGER_DUTY_INTEGRATION_KEY }}
# zenduty_api_key: ${{ secrets.ZENDUTY_API_KEY }}
# zenduty_service_id: ${{ secrets.ZENDUTY_SERVICE_ID }}
# zenduty_escalation_policy_id: ${{ secrets.ZENDUTY_ESCALATION_POLICY_ID }}
# email_from: ${{ secrets.EMAIL_FROM }}
# email_list: ${{ secrets.EMAIL_BCC_LIST }}
# email_transport_smtp_user: ${{ secrets.EMAIL_TRANSPORT_SMTP_USER }}
# email_transport_smtp_password: ${{ secrets.EMAIL_TRANSPORT_SMTP_PASSWORD }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release (dry-run)
run: yarn release -- --dry-run
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}