refactor: use formbricks deps from SDK #656
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: NPM Tests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches-ignore: | |
- 'master' | |
- 'dependabot/**' | |
jobs: | |
npm: | |
runs-on: ubuntu-latest | |
env: | |
CYPRESS_INSTALL_BINARY: 0 | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Dependencies | |
run: npm install | |
- name: Run JS check | |
run: npm run lint:js | |
- name: Build source | |
run: npm run build |