Skip to content

test: Migrated root smoke tests to node:test (#2771) #3517

test: Migrated root smoke tests to node:test (#2771)

test: Migrated root smoke tests to node:test (#2771) #3517

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 }}