[Snyk] Security upgrade mercurius from 9.1.0 to 9.4.0 #970
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: ci | |
on: | |
push: | |
branches: | |
- main | |
- '[0-9]+.x' | |
tags: | |
- '*' | |
paths-ignore: | |
- 'docs/**' | |
- '*.md' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '*.md' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node | |
id: setup-node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14.x | |
- name: Deps | |
run: | | |
make deps | |
- name: Lint | |
run: | | |
make lint | |
- name: Test | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
run: | | |
make test | |
deploy: | |
needs: | |
- test | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Deploy To Heroku | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
HEROKU_APP: ${{ secrets.HEROKU_APP }} | |
run: | | |
heroku container:login | |
heroku container:push -a $HEROKU_APP web | |
heroku container:release -a $HEROKU_APP web | |
automerge: | |
needs: | |
- test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: fastify/github-action-merge-dependabot@v2.7.1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |