Files
bot-whatsapp/.github/workflows/ci.yml
2022-12-08 20:12:11 +01:00

30 lines
720 B
YAML

name: Bot CI
on:
push:
branches: [dev]
pull_request:
branches: [main, dev]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: corepack enable
- name: Install NPM Dependencies
run: yarn install --immutable --network-timeout 300000
- name: Build
run: yarn build
- name: Test
run: yarn test