Skip to content

Commit

Permalink
fix(actions): pnpm version missmatch in CI with COREPACK_ENABLE_STRIC…
Browse files Browse the repository at this point in the history
…T=0 [skip ci]
  • Loading branch information
xmlking committed May 14, 2024
1 parent a62bdc5 commit 09bd06e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+'

env:
COREPACK_ENABLE_STRICT: 0
GHCR_REGISTRY: ghcr.io
SCOPE: ${{ inputs.app || 'console' }}
IMAGE_NAME: ${{ github.repository }}/${{ inputs.app || 'console' }}
Expand All @@ -53,6 +52,8 @@ permissions:
jobs:
build-and-push-image:
runs-on: ubuntu-latest
env:
COREPACK_ENABLE_STRICT: 0
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ COPY --from=pruner /app/out/pnpm-lock.yaml ./pnpm-lock.yaml

## https://playwright.dev/docs/browsers
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD 1
ENV COREPACK_ENABLE_STRICT 0

## FIXME: https://github.com/vercel/turbo/pull/7512
# RUN pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Build and publish docker image to ghcr.io

```shell
#VERSION=$(git describe --tags || echo "HEAD")
VERSION=v0.1.3
VERSION=v0.2.2
BUILD_TIME=$(date +%FT%T%Z)
REGISTRY=ghcr.io
#REGISTRY=us-west1-docker.pkg.dev/<project_id>/docker
Expand Down

0 comments on commit 09bd06e

Please sign in to comment.