Skip to content

Add workflow to compile the project with typescript v4 #1

Add workflow to compile the project with typescript v4

Add workflow to compile the project with typescript v4 #1

name: Compile with typescript v4
on:
push:
branches: main
pull_request:
branches:
- "**"
jobs:
compile_with_typescript_v4:
name: Compile with typescript v4
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: Install typescript v4 in all packages
run: sed -i 's/"typescript": "~5.0.0"/"typescript": "^4.0.0"/' package.json packages/*/package.json && yarn

Check failure on line 20 in .github/workflows/compile-with-typescript-v4.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/compile-with-typescript-v4.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Build
run: yarn build