Bump tough-cookie from 4.0.0 to 4.1.3 #92
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: "units-test" | |
on: | |
pull_request: | |
push: | |
jobs: | |
# unit tests | |
units: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: npm ci | |
- run: npm test | |
# test action works running with actions/checkout@v1 | |
test-v1: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- id: git_metadata | |
uses: ./ | |
# example usage | |
- env: | |
version: ${{steps.git_metadata.outputs.git_version}} | |
run: |- | |
echo "This is my version: ${version}" | |
# test action works running with actions/checkout@v2 | |
test-v2: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# Required to get the full history for git_metadata | |
fetch-depth: 0 | |
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
- id: git_metadata | |
uses: ./ | |
# example usage | |
- env: | |
version: ${{steps.git_metadata.outputs.git_version}} | |
run: |- | |
echo "This is my version: ${version}" |