Skip to content

add runtime management mode #9

add runtime management mode

add runtime management mode #9

Workflow file for this run

# This workflow will do a clean install of dependencies, run the linter,
# and then run jest tests
name: Test
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
scope: '@tailwind'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGES_READ_TOKEN }}
- name: Run Jest Tests
run: npm run test:ci
env:
AWS_DEFAULT_REGION: 'us-east-1'
- name: Build
run: npm run build