Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow fallback if undefined #3

Merged
merged 1 commit into from
Jun 18, 2021
Merged

Allow fallback if undefined #3

merged 1 commit into from
Jun 18, 2021

Conversation

skjnldsv
Copy link
Owner

@skjnldsv skjnldsv commented Jun 18, 2021

@nickvergessen

Should allow us to specify fallback values

name: Get node and npm versions from package.json

on: push

jobs:
  test:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Read node and npm versions from package.json
        uses: skjnldsv/read-package-engines-version-actions@v1
        with: 
          fallbackNode: '^12'
          fallbackNpm: '^6'
        id: package-engines-versions

        ...

@skjnldsv skjnldsv added the enhancement New feature or request label Jun 18, 2021
@skjnldsv skjnldsv force-pushed the feat/fallback branch 4 times, most recently from 98d80de to 2cdbd96 Compare June 18, 2021 16:57
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv skjnldsv merged commit 1e2f46e into master Jun 18, 2021
@skjnldsv skjnldsv deleted the feat/fallback branch June 18, 2021 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant