Skip to content

Merge pull request #4 from currents-dev:feature/get-gha-info #27

Merge pull request #4 from currents-dev:feature/get-gha-info

Merge pull request #4 from currents-dev:feature/get-gha-info #27

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: Run gha e2e
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: |
cp .github/workflows/event.json /home/runner/work/_temp/_github_workflow/event.json
npm run gha-e2e