Skip to content

Update actions to versions running on Node20 #94

Update actions to versions running on Node20

Update actions to versions running on Node20 #94

Workflow file for this run

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 }}"