Skip to content

Commit

Permalink
Use corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Feb 7, 2024
1 parent b814d2e commit 3cd3972
Show file tree
Hide file tree
Showing 5 changed files with 5,451 additions and 3,642 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pickle-email-*.html
## Environment normalisation:
/.bundle
/vendor/bundle
/.yarn

# these should all be checked in to normalise the environment:
# Gemfile.lock, .ruby-version, .ruby-gemset
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN apk add zip

RUN mkdir --parents /.prxci

RUN corepack enable
ADD ./package.json .
RUN yarn install

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "This service is built on Amazon's API Gateway and AWS Lambda. When deploying the Lambda function code, the secret key ID must be inserted for the service to work correctly. That key is kept in LastPass.",
"main": "index.js",
"type": "module",
"packageManager": "[email protected]",
"engines": {
"node": ">= 20.0.0"
},
Expand All @@ -17,7 +18,6 @@
"keywords": [],
"author": "",
"license": "AGPL-3.0",
"private": "true",
"bugs": {
"url": "https://github.com/PRX/upload.prx.org/issues"
},
Expand Down
Loading

0 comments on commit 3cd3972

Please sign in to comment.