Skip to content

Update public flag api #24

Update public flag api

Update public flag api #24

Workflow file for this run

name: Test Node
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm build
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
- name: Run HTTP integration tests (Legacy)
run: npm run start
working-directory: ./scripts/legacy
env:
SDK_KEY: ${{ secrets.SDK_KEY }}
- name: Run HTTP integration tests (Modern)
run: npm run start
working-directory: ./scripts/modern
env:
SDK_KEY: ${{ secrets.SDK_KEY }}