fix: package.json to reduce vulnerabilities (#370) #878
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: Sqlite v3.4 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
max-parallel: 6 | |
matrix: | |
node-version: [12.x] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Node.js v-${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --production=false | |
- name: Build packages | |
run: yarn build | |
- name: Run package tests on sqlite database | |
run: cd /home/runner/work/tensei/tensei/packages/tests && yarn test | |
env: | |
DATABASE_TYPE: sqlite | |
DATABASE_NAME: tensei |