Skip to content

Commit

Permalink
Try updating build script to work
Browse files Browse the repository at this point in the history
It was failing because it couldn't find the `Array.prototype.at(index)` function. Maybe it needs a newer version of node or something.
  • Loading branch information
cypressf committed Aug 1, 2023
1 parent b9dc385 commit bab7e8f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 31 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "19"

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand All @@ -108,7 +108,7 @@ jobs:
- name: 🔨 Build
run: |
yarn install --frozen-lockfile
yarn install --immutable
yarn lint
yarn build
working-directory: frontend
Expand Down
49 changes: 21 additions & 28 deletions frontend/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,22 @@
{
"compilerOptions": {
"target": "es5",
"downlevelIteration": true,
"importHelpers": true,
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"noFallthroughCasesInSwitch": true
},
"include": [
"./src",
"./setupTests.ts",
]
}
"compilerOptions": {
"target": "es6",
"downlevelIteration": true,
"importHelpers": true,
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"noFallthroughCasesInSwitch": true
},
"include": ["./src", "./setupTests.ts"]
}

0 comments on commit bab7e8f

Please sign in to comment.