Skip to content

Update main.yml

Update main.yml #12

Triggered via push December 20, 2023 01:01
Status Failure
Total duration 21s
Artifacts

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 .dockerignore #1 transferring context: 216B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 396B 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 [ 2/10] WORKDIR /app #5 DONE 0.1s #6 [internal] load build context #6 transferring context: 3.74MB 0.0s done #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.180 #10 7.180 added 1 package in 2s #10 7.180 #10 7.180 1 package is looking for funding #10 7.180 run `npm fund` for details #10 7.181 npm notice #10 7.181 npm notice New patch version of npm available! 10.2.3 -> 10.2.5 #10 7.181 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5> #10 7.181 npm notice Run `npm install -g [email protected]` to update! #10 7.181 npm notice #10 DONE 7.3s #11 [ 7/10] RUN pnpm i #11 0.773  WARN  Issue while reading "/app/.npmrc". Failed to replace env in config: ${NODE_AUTH_TOKEN} #11 0.902 Lockfile is up to date, resolution step is skipped #11 0.967 Progress: resolved 1, reused 0, downloaded 0, added 0 #11 1.080 Packages: +377 #11 1.080 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #11 1.539  ERR_PNPM_FETCH_401  GET https://npm.pkg.github.com/download/@theofficialurban/svelte-utils/1.2.0/8df10dee4006f3685e4b6cddd2982519767284db: Unauthorized - 401 #11 1.539 #11 1.539 No authorization header was set for the request. #11 1.539 #11 1.539 No authorization settings were found in the configs. #11 1.539 Try to log in to the registry by running "pnpm login" #11 1.539 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.967 Progress: resolved 1, reused 0, downloaded 0, added 0 1.080 Packages: +377 1.080 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1.539  ERR_PNPM_FETCH_401  GET https://npm.pkg.github.com/download/@theofficialurban/svelte-utils/1.2.0/8df10dee4006f3685e4b6cddd2982519767284db: Unauthorized - 401 1.539 1.539 No authorization header was set for the request. 1.539 1.539 No authorization settings were found in the configs. 1.539 Try to log in to the registry by running "pnpm login" 1.539 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/