-
Notifications
You must be signed in to change notification settings - Fork 399
37 lines (32 loc) · 1.06 KB
/
smoke-test-workflow.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
name: Server Smoke Tests
on:
# Run on pushes to any branch. Not triggered for forked repo PRs.
push:
schedule:
# Run once a day at 9AM PDT (16 UTC) on week days (1-5).
# Last commit on default branch.
# https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule
- cron: '0 16 * * 1-5'
workflow_dispatch:
jobs:
smoke:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Run Smoke Tests
run: npm run smoke
env:
TEST_LICENSE: ${{ secrets.TEST_LICENSE }}
LASP_LICENSE: ${{ secrets.LASP_LICENSE }}
LASP_SECURE_LICENSE: ${{ secrets.LASP_SECURE_LICENSE }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}