Skip to content

build(deps): bump actions/setup-node from 2 to 4 #378

build(deps): bump actions/setup-node from 2 to 4

build(deps): bump actions/setup-node from 2 to 4 #378

Workflow file for this run

name: CI
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node 16.x
uses: actions/setup-node@v4
with:
node-version: 16.13.2
- name: Install
run: make install
- name: Run Mongo
run: |
docker run -d --rm --name mongo -p 27017:27017 mongo
docker ps -a
- name: Test
run: yarn test --coverage
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}