forked from mirrors/thatmattlove-hyperglass
fix ci jobs
This commit is contained in:
parent
4a45ea0ddc
commit
a6794ad2ac
3 changed files with 12 additions and 6 deletions
12
.github/workflows/backend.yml
vendored
12
.github/workflows/backend.yml
vendored
|
|
@ -10,6 +10,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [20.x]
|
node-version: [20.x]
|
||||||
|
pnpm-version: [8]
|
||||||
redis-version: [latest]
|
redis-version: [latest]
|
||||||
python-version: ["3.9", "3.10", "3.11"]
|
python-version: ["3.9", "3.10", "3.11"]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
|
|
@ -32,6 +33,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Install PNPM
|
||||||
|
uses: pnpm/action-setup@v3
|
||||||
|
with:
|
||||||
|
version: ${{ matrix.pnpm-version }}
|
||||||
|
|
||||||
- name: Start Redis
|
- name: Start Redis
|
||||||
uses: supercharge/redis-github-action@1.7.0
|
uses: supercharge/redis-github-action@1.7.0
|
||||||
with:
|
with:
|
||||||
|
|
@ -44,12 +50,12 @@ jobs:
|
||||||
echo "HYPERGLASS_HOST=127.0.0.1" >> $GITHUB_ENV
|
echo "HYPERGLASS_HOST=127.0.0.1" >> $GITHUB_ENV
|
||||||
echo "HYPERGLASS_PORT=8001" >> $GITHUB_ENV
|
echo "HYPERGLASS_PORT=8001" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
run: rye install && rye sync
|
||||||
|
|
||||||
- name: Enter venv
|
- name: Enter venv
|
||||||
run: . .venv/bin/activate
|
run: . .venv/bin/activate
|
||||||
|
|
||||||
- name: Install
|
|
||||||
run: rye install
|
|
||||||
|
|
||||||
- name: Lint (Rye)
|
- name: Lint (Rye)
|
||||||
run: rye lint
|
run: rye lint
|
||||||
|
|
||||||
|
|
|
||||||
3
.github/workflows/frontend.yml
vendored
3
.github/workflows/frontend.yml
vendored
|
|
@ -24,7 +24,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v3
|
- name: Install PNPM
|
||||||
|
uses: pnpm/action-setup@v3
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.pnpm-version }}
|
version: ${{ matrix.pnpm-version }}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@
|
||||||
"**/*.tsx",
|
"**/*.tsx",
|
||||||
"types/*.d.ts",
|
"types/*.d.ts",
|
||||||
"next.config.js",
|
"next.config.js",
|
||||||
"nextdev.js",
|
"nextdev.js"
|
||||||
"hyperglass.json"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue