Skip to content

Commit

Permalink
Test CI builds (#1247)
Browse files Browse the repository at this point in the history
Fix broken CI builds
  • Loading branch information
thekevinscott committed Nov 15, 2023
1 parent cae38b9 commit 976e1eb
Show file tree
Hide file tree
Showing 10 changed files with 2,825 additions and 4,296 deletions.
24 changes: 12 additions & 12 deletions .github/actions/setup-pnpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ runs:
version: 8
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
# - uses: actions/cache@v3
# name: Setup pnpm cache
# with:
# path: ${{ env.STORE_PATH }}
# key: ${{ runner.os }}-${{ inputs.node-version }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
# restore-keys: |
# ${{ runner.os }}-${{ inputs.node-version }}-pnpm-store-
# - name: Get pnpm store directory
# shell: bash
# run: |
# echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

# # - uses: actions/cache@v3
# # name: Setup pnpm cache
# # with:
# # path: ${{ env.STORE_PATH }}
# # key: ${{ runner.os }}-${{ inputs.node-version }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
# # restore-keys: |
# # ${{ runner.os }}-${{ inputs.node-version }}-pnpm-store-

- name: Install dependencies
shell: bash
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# with:
# detached: true

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -36,7 +36,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -61,7 +61,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -87,7 +87,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -111,7 +111,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -129,7 +129,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -191,7 +191,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -210,7 +210,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -235,7 +235,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -256,7 +256,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -273,7 +273,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand All @@ -290,7 +290,7 @@ jobs:
with:
lfs: 'true'

- name: 'Setup PNPM with Node 16'
- name: 'Setup PNPM with Node 20'
uses: ./.github/actions/setup-pnpm
with:
node-version: 20
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ Add a ⭐️ [star on GitHub](https://github.com/thekevinscott/UpscalerJS) or

[MIT License](https://oss.ninja/mit/developit/) © [Kevin Scott](https://thekevinscott.com)


2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
]
},
"engines": {
"node": ">=16.14"
"node": ">=20"
},
"wireit": {
"build-api": {
Expand Down
3 changes: 0 additions & 3 deletions internals/http-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
"license": "MIT",
"dependencies": {
"@internals/common": "workspace:*",
"cloudflared": "^0.5.0",
"fs-extra": "^11.1.1",
"localtunnel": "^2.0.2",
"ngrok": "5.0.0-beta.2",
"tunnelmole": "latest"
},
"wireit": {
Expand Down
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,16 @@
"@typescript-eslint/parser": "6.4.0",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"chokidar": "3.5.3",
"docsify-cli": "4.4.4",
"dotenv": "16.3.1",
"esbuild": "0.19.2",
"eslint": "8.47.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-jsdoc": "46.5.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"fast-folder-size": "2.2.0",
"fs-extra": "11.1.1",
"glob": "^10.3.3",
"inquirer": "9.2.10",
"jest": "29.6.3",
"jest-canvas-mock": "2.5.2",
"jsdom": "22.1.0",
"mocha": "10.2.0",
"pixelmatch": "5.3.0",
Expand Down Expand Up @@ -124,14 +120,10 @@
"yargs": "17.7.2"
},
"engines": {
"node": ">=16.0"
"node": ">=20.0"
},
"pnpm": {
"overrides": {
"@tensorflow/tfjs": "~4.11.0",
"@tensorflow/tfjs-node": "~4.11.0",
"@tensorflow/tfjs-node-gpu": "~4.11.0"
}
"overrides": {}
},
"dependencies": {
"wireit": "^0.14.0"
Expand Down
4 changes: 0 additions & 4 deletions packages/upscalerjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,6 @@
"dist/node-gpu/**"
]
},
"docs:serve": {
"command": "docsify serve docs --port 3030"
},
"preversion": {
"command": "pnpm lint"
},
Expand Down Expand Up @@ -201,7 +198,6 @@
"build:browser": "wireit",
"build:node": "wireit",
"build:node-gpu": "wireit",
"docs:serve": "wireit",
"preversion": "wireit",
"prepublishOnly": "wireit",
"format": "wireit",
Expand Down
Loading

0 comments on commit 976e1eb

Please sign in to comment.