Update Node LTS to use node version 22 #250
Workflow file for this run
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: CI | |
# For testing | |
on: pull_request | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout tree | |
uses: actions/checkout@v3 | |
- name: Set-up Deno | |
uses: denoland/setup-deno@v1 | |
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: 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 |