This repository has been archived by the owner on May 23, 2023. It is now read-only.
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 #197
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master, develop] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
mongodb-version: [4.0] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Start MongoDB | |
uses: supercharge/mongodb-github-action@1.3.0 | |
with: | |
mongodb-version: ${{ matrix.mongodb-version }} | |
mongodb-replica-set: test-rs | |
- name: Install NPM dependencies | |
run: npm install | |
- name: Run tests | |
env: | |
JWT_SECRET: ${{ secrets.JWT_SECRET }} | |
MAIL_HOST: ${{ secrets.MAIL_HOST }} | |
MAIL_PORT: ${{ secrets.MAIL_PORT }} | |
MAIL_USER: ${{ secrets.MAIL_USER }} | |
MAIL_PASS: ${{ secrets.MAIL_PASS }} | |
run: | | |
npm install | |
bash scripts/environment.sh | |
npm run test:coverage | |
- name: Codecov | |
uses: codecov/codecov-action@v1.0.6 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
env: | |
CI: true |