Skip to content

feat(publish-if-not-exists): add package manager as input #234

feat(publish-if-not-exists): add package manager as input

feat(publish-if-not-exists): add package manager as input #234

Workflow file for this run

name: Tests
on: [pull_request]
jobs:
unit:
name: Unit
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- uses: actions/setup-node@v2
with:
node-version: '12.18.1'
cache: 'yarn'
- name: Fetch Node Packages
run: |
yarn --immutable
- name: Run tests
run: |
yarn test --coverage --verbose
get_release_details:
name: Test Get Release Details
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@master
- uses: actions/setup-node@v2
with:
node-version: '12.18.1'
- name: Get Release Details
id: release_details
uses: ./get_release_details
- name: Change Log
run: |
echo "Changelog: ${{ steps.release_details.outputs.changelog }}"
echo "Is new release?: ${{ steps.release_details.outputs.is_new_release }}"
echo "Version: ${{ steps.release_details.outputs.version }}"
echo "Latest Tag: ${{ steps.release_details.outputs.latest_tag }}"