Skip to content

chore: Bump cookie and express #591

chore: Bump cookie and express

chore: Bump cookie and express #591

name: build-main
on:
pull_request:
types: [opened, synchronize]
branches:
- main
push:
branches:
- main
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['14', '16', '18']
exclude:
- os: macos-latest
node: 14
name: Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: npm install
run: npm install
- name: Build and test
run: npm test
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-node-${{ matrix.node }}-${{ matrix.os }}
parallel: true
finish:
needs: build-and-test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true