Skip to content

feat(ci): added e2e test for gha event data #9

feat(ci): added e2e test for gha event data

feat(ci): added e2e test for gha event data #9

Workflow file for this run

name: Test and Release (if master)
on: push
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test
# - if: github.ref == 'refs/heads/master'
# run: npm run semantic-release
gha:
runs-on: ubuntu-latest
steps:
- name: Copy event file
- run: cp ./event.json /home/runner/work/_temp/_github_workflow/event.json
- name: Run gha e2e
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm run gha-e2e