🚨 [security] Update node-fetch 3.0.0 → 3.3.2 (minor) #213
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
coverageRun: | |
name: Run Coverage | |
runs-on: ubuntu-latest | |
if: "!(contains(github.event.head_commit.message, '[skip test]') || contains(github.event.head_commit.message, '[skip coverage run]'))" | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v2 | |
- name: Install NodeJS v12 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: Restore CI Cache | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-12-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Dependencies | |
run: yarn --ignore-scripts --frozen-lockfile | |
- name: Run Coverage tests | |
run: "yarn run test:coverage" | |
- name: Store code coverage report | |
uses: actions/upload-artifact@v2-preview | |
with: | |
name: coverage | |
path: coverage/ | |
coverageUploadCoveralls: | |
name: Upload Coverage results to Coveralls | |
needs: coverageRun | |
runs-on: ubuntu-latest | |
if: "!(contains(github.event.head_commit.message, '[skip test]') || contains(github.event.head_commit.message, '[skip coverage upload]') || contains(github.event.head_commit.message, '[skip coverage upload coveralls]'))" | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v2 | |
- name: Download Coverage report | |
uses: actions/download-artifact@v2-preview | |
with: | |
name: coverage | |
path: coverage/ | |
- name: Coveralls Upload | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |