Bump @sentry/browser from 5.24.2 to 7.119.1 #543
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: Pull Requests | |
on: | |
pull_request: | |
branches: [dev, testnet, master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get npm cache directory | |
id: npm-cache | |
run: | | |
echo "::set-output name=dir::$(npm config get cache)" | |
- uses: actions/cache@v2 | |
with: | |
path: ${{ steps.npm-cache.outputs.dir }} | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Build Blockchain image | |
run: ./build-image.sh | |
- name: Start containers | |
run: docker-compose up -d | |
working-directory: test/docker | |
- name: Wait for startup | |
uses: jakejarvis/wait-action@master | |
with: | |
time: "15s" | |
- name: Add RID to .env | |
run: ./add-rid-to-env.sh | |
working-directory: test/docker | |
- name: Install dependencies | |
run: npm install | |
- name: Perform a build | |
run: npm run build-dev | |
- name: Run tests | |
run: npm test | |
- name: Codecov | |
uses: codecov/[email protected] | |
with: | |
name: PR | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: coverage/coverage-final.json |