Skip to content

Create codeql.yml (#335) #293

Create codeql.yml (#335)

Create codeql.yml (#335) #293

Workflow file for this run

name: Test and build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
services:
redis:
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: yarn install
- run: yarn test
- run: yarn build