Skip to content

Upgrade compatible node version to latest lts only #6

Upgrade compatible node version to latest lts only

Upgrade compatible node version to latest lts only #6

Workflow file for this run

name: Test (NPM)
on:
push:
branches-ignore: ['main']
jobs:
static-checks-npm:
uses: digicatapult/shared-workflows/.github/workflows/static-checks-npm.yml@main
with:
matrix_commands: '["lint", "depcheck"]'
tests:
uses: digicatapult/shared-workflows/.github/workflows/tests-npm.yml@main
with:
tests: '["test"]'
kubo-version:
runs-on: ubuntu-latest
outputs:
ipfs_tag: ${{ steps.kubo_version.outputs.IPFS_TAG }}
steps:
- uses: actions/checkout@v4
- name: Get Kubo Version
id: kubo_version
run: |
echo "IPFS_TAG=v$(jq .devDependencies.kubo ./package.json | sed 's/[\^"]//g')" >> $GITHUB_OUTPUT
build-docker:
uses: digicatapult/shared-workflows/.github/workflows/build-docker.yml@main
needs:
- kubo-version
permissions:
packages: write
contents: write
with:
build_args: |
IPFS_TAG=${{ needs.kubo-version.outputs.ipfs_tag }}