Skip to content

Merge pull request #44 from episerver/bugfix/AFORM-3737-Multi-choice-… #101

Merge pull request #44 from episerver/bugfix/AFORM-3737-Multi-choice-…

Merge pull request #44 from episerver/bugfix/AFORM-3737-Multi-choice-… #101

Workflow file for this run

name: Optimizely Headless Form CI
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Setup dependencies
run: npm ci
- name: Run build SDK
run: npm run build --if-present
- name: Run unit test
run: npm test