feat(publish-if-not-exists): add input for package_manager #232
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}" |