Skip to content

Merge pull request #4 from wellcometrust/dependabot/npm_and_yarn/mult… #12

Merge pull request #4 from wellcometrust/dependabot/npm_and_yarn/mult…

Merge pull request #4 from wellcometrust/dependabot/npm_and_yarn/mult… #12

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn install
- run: yarn test
- run: yarn lint
release:
name: Release
needs: test
if: ${{ github.actor != 'dependabot[bot]' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn semantic-release