Skip to content

Update main.yml

Update main.yml #9

Triggered via push December 20, 2023 00:49
Status Failure
Total duration 24s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
build
Somthing went wrong building your image. Error: Command failed: (cd .; docker build . --file Dockerfile --tag registry.heroku.com/***/web) #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 396B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 216B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/node:20-alpine #3 DONE 0.0s #4 [ 1/10] FROM docker.io/library/node:20-alpine #4 DONE 0.0s #5 [internal] load build context #5 transferring context: 3.74MB 0.0s done #5 DONE 0.1s #6 [ 2/10] WORKDIR /app #6 DONE 0.1s #7 [ 3/10] COPY package.json ./ #7 DONE 0.0s #8 [ 4/10] COPY pnpm-lock.yaml ./ #8 DONE 0.0s #9 [ 5/10] COPY .npmrc ./ #9 DONE 0.0s #10 [ 6/10] RUN npm i -g pnpm #10 7.403 #10 7.403 added 1 package in 2s #10 7.403 #10 7.403 1 package is looking for funding #10 7.403 run `npm fund` for details #10 7.404 npm notice #10 7.404 npm notice New patch version of npm available! 10.2.3 -> 10.2.5 #10 7.404 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5> #10 7.405 npm notice Run `npm install -g [email protected]` to update! #10 7.405 npm notice #10 DONE 7.5s #11 [ 7/10] RUN pnpm i #11 0.716  WARN  Issue while reading "/app/.npmrc". Failed to replace env in config: ${NODE_AUTH_TOKEN} #11 0.846 Lockfile is up to date, resolution step is skipped #11 0.902 Progress: resolved 1, reused 0, downloaded 0, added 0 #11 1.024 Packages: +377 #11 1.024 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #11 1.663  ERR_PNPM_FETCH_401  GET https://npm.pkg.github.com/download/@theofficialurban/svelte-utils/1.2.0/8df10dee4006f3685e4b6cddd2982519767284db: Unauthorized - 401 #11 1.663 #11 1.663 No authorization header was set for the request. #11 1.663 #11 1.663 No authorization settings were found in the configs. #11 1.663 Try to log in to the registry by running "pnpm login" #11 1.663 or add the auth tokens manually to the ~/.npmrc file. #11 ERROR: process "/bin/sh -c pnpm i" did not complete successfully: exit code: 1 ------ > [ 7/10] RUN pnpm i: 0.902 Progress: resolved 1, reused 0, downloaded 0, added 0 1.024 Packages: +377 1.024 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1.663  ERR_PNPM_FETCH_401  GET https://npm.pkg.github.com/download/@theofficialurban/svelte-utils/1.2.0/8df10dee4006f3685e4b6cddd2982519767284db: Unauthorized - 401 1.663 1.663 No authorization header was set for the request. 1.663 1.663 No authorization settings were found in the configs. 1.663 Try to log in to the registry by running "pnpm login" 1.663 or add the auth tokens manually to the ~/.npmrc file. ------ Dockerfile:11 -------------------- 9 | ENV PUBLIC_PROJECT='657df22a1439a12f822a' 10 | RUN npm i -g pnpm 11 | >>> RUN pnpm i 12 | COPY . ./ 13 | RUN pnpm run build -------------------- ERROR: failed to solve: process "/bin/sh -c pnpm i" did not complete successfully: exit code: 1
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, jctaveras/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/