Skip to content

Merge pull request #81 from mrks115/patch-1 #196

Merge pull request #81 from mrks115/patch-1

Merge pull request #81 from mrks115/patch-1 #196

Workflow file for this run

name: 'units-test'
on:
pull_request:
push:
branches:
- master
- 'releases/*'
jobs:
# unit tests
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm test
# test action works running from the graph
e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run the changelog reader
id: changelog_reader
uses: ./
- name: Display output
run: |
echo "Version: ${{ steps.changelog_reader.outputs.version }}"
echo "Date: ${{ steps.changelog_reader.outputs.date }}"
echo "Status: ${{ steps.changelog_reader.outputs.status }}"
echo "Changes: ${{ steps.changelog_reader.outputs.changes }}"
- name: Check output
run: |
test "Changes: ${{ steps.changelog_reader.outputs.changes }}" != ""