Skip to content

[Snyk] Fix for 5 vulnerabilities #13

[Snyk] Fix for 5 vulnerabilities

[Snyk] Fix for 5 vulnerabilities #13

Workflow file for this run

name: 'build-test'
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- master
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- run: |
npm install
- run: |
npm run all
# Find the PR associated with this push, if there is one.
- name: test
uses: ./
id: findPr
with:
# Can be "open", "closed", or "all". Defaults to "open".
state: open
# This will echo "Your PR is 7", or be skipped if there is no current PR.
- run: echo "Your PR is ${PR}"
if: success() && steps.findPr.outputs.number
env:
PR: ${{ steps.findPr.outputs.pr }}
- name: Semantic-release
if: github.ref == 'refs/heads/master'
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}