feat: add branch to workflow to deploy on pushes to "main" #13
Annotations
4 errors and 4 warnings
build
'JSpreadsheetOptions' is declared but its value is never read.
|
build
'handleUpload' is declared but its value is never read.
|
build
Process completed with exit code 2.
|
deploy
Error: Command failed: git push --force heroku `git subtree split --prefix=frontend HEAD`:refs/heads/main
1/31 (0) [0]
2/31 (1) [0]
3/31 (2) [0]
4/31 (3) [0]
5/31 (4) [0]
6/31 (5) [0]
7/31 (6) [0]
8/31 (7) [0]
9/31 (8) [0]
10/31 (9) [0]
11/31 (10) [0]
12/31 (11) [0]
13/31 (12) [0]
14/31 (13) [0]
15/31 (14) [0]
16/31 (15) [0]
17/31 (16) [0]
18/31 (17) [0]
19/31 (18) [0]
20/31 (19) [0]
21/31 (20) [0]
22/31 (21) [0]
23/31 (22) [0]
24/31 (23) [0]
25/31 (24) [0]
26/31 (25) [0]
27/31 (26) [0]
28/31 (27) [0]
29/31 (28) [0]
30/31 (29) [0]
31/31 (30) [0]
remote: Updated 43 paths from a7d2b0b
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-24 stack
remote: -----> Using buildpack: heroku/nodejs
remote: -----> Node.js app detected
remote:
remote: -----> Creating runtime environment
remote:
remote: NPM_CONFIG_LOGLEVEL=error
remote: NODE_VERBOSE=false
remote: NODE_ENV=production
remote: NODE_MODULES_CACHE=true
remote:
remote: -----> Installing binaries
remote: engines.node (package.json): unspecified
remote: engines.npm (package.json): unspecified (use default)
remote:
remote: Resolving node version 20.x...
remote: Downloading and installing node 20.17.0...
remote: Using default npm version: 10.8.2
remote:
remote: -----> Restoring cache
remote: - npm cache
remote:
remote: -----> Installing dependencies
remote: Installing node modules
remote:
remote: added 260 packages, and audited 261 packages in 5s
remote:
remote: 56 packages are looking for funding
remote: run `npm fund` for details
remote:
remote: 2 vulnerabilities (1 moderate, 1 high)
remote:
remote: To address all issues, run:
remote: npm audit fix
remote:
remote: Run `npm audit` for details.
remote:
remote: -----> Build
remote: Running build
remote:
remote: > [email protected] build
remote: > tsc -b && vite build
remote:
remote: src/components/Spreadsheet.tsx(2,86): error TS6133: 'JSpreadsheetOptions' is declared but its value is never read.
remote: src/components/UploadButton.tsx(35,9): error TS6133: 'handleUpload' is declared but its value is never read.
remote:
remote: -----> Build failed
remote:
remote: We're sorry this build is failing! You can troubleshoot common issues here:
remote: https://devcenter.heroku.com/articles/troubleshooting-node-deploys
remote:
remote: Some possible problems:
remote:
remote: - Node version not specified in package.json
remote: https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
remote:
remote: Love,
remote: Heroku
remote:
remote: ! Push rejected, failed to compile Node.js app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to ***.
remote:
To https://git.heroku.com/***.git
! [remote rejected] 4d4c9c7524415bd830b4b0a738bb980eab565219 -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/***.git'
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
deploy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
deploy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|