Skip to content

Chore/fix ci

Chore/fix ci #476

name: CI - Pull Request Open
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ "!master" ]
pull_request:
branches: [ master ]
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: npm
- run: cp .env.example .env
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run test
- run: npm run sls-config-check