Compiler alpha #29
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: Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- 'docs/**' | |
- 'scripts/**' | |
permissions: | |
contents: read | |
jobs: | |
ci-algo-ts: | |
uses: ./.github/workflows/node-ci.yml | |
with: | |
node-version: 20.x | |
run-build: true | |
audit-script: npm run audit | |
working-directory: packages/algo-ts | |
upload-artifact-name: algo-ts | |
upload-artifact-path: ./packages/algo-ts/dist | |
ci-algo-ts-testing: | |
uses: ./.github/workflows/node-ci.yml | |
needs: | |
- ci-algo-ts | |
with: | |
download-artifact-name: algo-ts | |
download-artifact-path: ./packages/algo-ts/dist | |
node-version: 20.x | |
run-build: true | |
build-script: npm run build | |
audit-script: npm run audit | |
working-directory: packages/algo-ts-testing | |
upload-artifact-name: algo-ts-testing | |
upload-artifact-path: ./packages/algo-ts-testing/dist | |
ci-puya-ts: | |
uses: ./.github/workflows/node-ci.yml | |
needs: | |
- ci-algo-ts | |
- ci-algo-ts-testing | |
with: | |
download-artifact-pattern: algo-* | |
download-artifact-path: ./packages-temp | |
pre-run-script: mv packages-temp/algo-ts packages/algo-ts/dist && mv packages-temp/algo-ts-testing packages/algo-ts-testing/dist | |
node-version: 20.x | |
run-build: true | |
pre-test-script: | | |
pipx install algokit | |
algokit localnet start | |
build-script: npm run install-local-packages && npm run build | |
audit-script: npm run audit |