feat(surveys): Add open-ended choices for multiple and single choice surveys #870
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Library checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
unit: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
# Check out the repository | |
- uses: actions/checkout@v3 | |
# Install Node.js | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
# Install your dependencies | |
- run: yarn install | |
- run: yarn test | |
integration: | |
name: Cypress | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- run: yarn install && yarn build | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
functional: | |
name: Functional tests | |
runs-on: ubuntu-latest | |
steps: | |
# Check out the repository | |
- uses: actions/checkout@v3 | |
# Install Node.js | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
# Install your dependencies | |
- run: yarn install | |
- run: yarn jest functional_tests/ | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
# Check out the repository | |
- uses: actions/checkout@v3 | |
# Install Node.js | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
# Install your dependencies | |
- run: yarn install | |
- run: | | |
yarn prettier --check | |
yarn lint | |
yarn tsc -b |