Skip to content

[Snyk] Security upgrade semantic-release from 19.0.5 to 22.0.0 #11

[Snyk] Security upgrade semantic-release from 19.0.5 to 22.0.0

[Snyk] Security upgrade semantic-release from 19.0.5 to 22.0.0 #11

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/[email protected]
- 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 }}