name: CI # For testing on: pull_request jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout tree uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set-up Deno uses: denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed # v2.0.5 with: deno-version: v1.x # Build all the packages - name: Create packages for TSConfig JSONs run: deno run --allow-read --allow-write --allow-net scripts/create-npm-packages.ts - name: Test working-directory: test/ run: | corepack enable pnpm install pnpm test - name: Update the README run: deno run --allow-read --allow-write --allow-net scripts/update-markdown-readme.ts - name: Fail if the README needs updating run: | if [[ -z $(git status -s) ]] then echo "" else echo "Please update the README via: deno run --allow-read --allow-write scripts/update-markdown-readme.ts" exit 1 fi