Skip to content

Commit

Permalink
chore(ci): check npm publish won't find issues in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-trunov committed Jul 10, 2024
1 parent 49e9045 commit cf77722
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/tact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ jobs:
run: |
yarn knip
- name: Check there are no errors to be fixed in package.json
run: |
npm pkg fix && git diff --exit-code
- name: Show an example .pkg file on Windows
if: runner.os == 'Windows'
run: |
Expand All @@ -69,6 +73,11 @@ jobs:
run: |
yarn link
- name: CLI Test | Check tact --version
if: runner.os != 'Windows'
run: |
tact --version
- name: CLI Test | Compare Tact version from CLI flag `--version` against package.json
if: runner.os != 'Windows'
run: |
Expand All @@ -77,13 +86,15 @@ jobs:
fi
- name: CLI Test | Check single-contract compilation
if: runner.os != 'Windows'
run: |
tact --check bin/test/success.tact
tact --func bin/test/success.tact
tact bin/test/success.tact
tact --with-decompilation bin/test/success.tact
- name: CLI Test | Check compilation via `--config`
if: runner.os != 'Windows'
run: |
# should output complete results
tact --config bin/test/success.config.json
Expand Down Expand Up @@ -118,6 +129,7 @@ jobs:
! tact --config bin/test/fail.config.json
- name: CLI Test | Evaluate expression
if: runner.os != 'Windows'
run: |
tact -e '(1 + 2 * (pow(3,4) - 2) << 1 & 0x54 | 33 >> 1) * 2 + 2'
Expand All @@ -129,7 +141,6 @@ jobs:
yarn link @tact-lang/compiler
yarn build
yarn test
tact --version
- name: Test compatibility with Blueprint
run: |
Expand All @@ -138,4 +149,3 @@ jobs:
yarn link @tact-lang/compiler
yarn build
yarn test
tact --version

0 comments on commit cf77722

Please sign in to comment.