Bump elliptic from 6.5.1 to 6.6.0 #107
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: 'Integration' | |
jobs: | |
tests: | |
name: 'Testing app' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: 'Use Node.js 12.x' | |
uses: actions/setup-node@master | |
with: | |
node-version: 12.x | |
- name: 'Yarn install' | |
run: | | |
yarn install --frozen-lockfile | |
- name: 'Check for linting errors' | |
run: | | |
yarn run test:lint | |
- name: 'Run the integration tests' | |
run: | | |
yarn run test:integration | |
trigger-staging: | |
name: 'Trigger staging webhook' | |
needs: [tests] | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: 'Send staging webhook' | |
run: | | |
curl -d '{"action":"deploy-staging", "token":"${{ secrets.KAPP_WEBHOOK_TOKEN }}", "sha":"${{ github.sha }}"}' -H "Content-Type: application/json" -X POST https://webhooks.kfet-insa.fr | |
trigger-prod: | |
name: 'Trigger prod webhook' | |
needs: [tests] | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/prod' | |
steps: | |
- name: 'Send prod webhook' | |
run: | | |
curl -d '{"action":"deploy-prod", "token":"${{ secrets.KAPP_WEBHOOK_TOKEN }}", "sha":"${{ github.sha }}"}' -H "Content-Type: application/json" -X POST https://webhooks.kfet-insa.fr |