-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: github action dependencies (#202)
- Loading branch information
1 parent
425205e
commit 5e22c7b
Showing
68 changed files
with
21,804 additions
and
37,594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
.github | ||
action | ||
app/frontend/cypress | ||
app/frontend/cypress.config.ts | ||
comparadise-utils | ||
cypress | ||
dist | ||
node_modules | ||
*.md |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
registry = https://registry.npmjs.org | ||
enable-pre-post-scripts=true | ||
registry=https://registry.npmjs.org | ||
use-node-version=18.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dist/ | ||
utils/types/ | ||
node_modules/ | ||
action/ | ||
app/ | ||
comparadise-utils/ | ||
shared/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,7 @@ | ||
# Local Development | ||
# Local App Development | ||
|
||
1. Run `nvm use` | ||
2. Run `npm install` | ||
1. Install `pnpm` | ||
2. Run `pnpm install` | ||
3. Login to the AWS account containing the visual regression S3 bucket | ||
4. Run `npm run dev` | ||
4. Run `nx local app` | ||
5. Application will be running at `http://localhost:5173`, and it will hot reload when you make changes. | ||
|
||
You can also run the app using docker-compose using `npm run build:docker`! | ||
|
||
Make sure you have a `secrets.json` file in the root of the project in order to test using application secrets. | ||
This file should have the following format: | ||
|
||
```json | ||
{ | ||
"github_token": "MY_TOKEN" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
FROM node:18-slim | ||
FROM node:18.16.0-slim | ||
|
||
WORKDIR /app | ||
|
||
RUN apt-get update && apt-get -qq -y install curl | ||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm | ||
|
||
RUN useradd -ms /bin/sh admin | ||
RUN chown -R admin . | ||
COPY --chown=admin . . | ||
USER admin | ||
|
||
ENV PORT 8080 | ||
RUN pnpm install --ignore-scripts | ||
RUN pnpm nx build frontend | ||
|
||
RUN npm ci | ||
RUN npm run build | ||
|
||
CMD [ "npm", "run", "start:backend" ] | ||
ENV PORT 8080 | ||
CMD [ "pnpm", "nx", "start", "app" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist/ |
Oops, something went wrong.