Skip to content

feat[cli]: --version flag #56

feat[cli]: --version flag

feat[cli]: --version flag #56

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
fail-fast: false
matrix:
node-version: [18.x]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

Check failure on line 21 in .github/workflows/node.js.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/node.js.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install
- run: yarn clean
- run: yarn build
- run: yarn gen
- run: yarn coverage
- name: Compare Tact version from CLI flag `--version` against package.json
- run: |
if [ "$(./bin/tact --version)" != "$(jq -r '.version' < package.json)" ];
then false
fi