Update actions to versions running on Node20 #94
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: "test" | |
on: | |
pull_request: | |
push: | |
branches: | |
- v2 | |
jobs: | |
# unit tests | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: yarn install | |
- run: yarn run test | |
# test action works running from the graph | |
manual-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: mkdir ./tmp && cp ./test/data/package.json ./tmp | |
- uses: ./ | |
id: bump-version | |
with: | |
work-dir: ./tmp | |
environment: "ropsten" | |
branch: ${{ github.ref }} | |
commit: ${{ github.sha }} | |
# Print results of action execution to verify them. | |
- name: Print package.json content | |
run: cat ./tmp/package.json | |
- name: Print resolved version | |
run: echo "Resolved new version ${{ steps.bump-version.outputs.version }}" |