mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-18 21:19:44 +00:00
chore: update github actions
This commit is contained in:
parent
1f9c87b81b
commit
80c6464208
@ -28,43 +28,6 @@ jobs:
|
|||||||
args: -v
|
args: -v
|
||||||
skip-cache: true
|
skip-cache: true
|
||||||
|
|
||||||
eslint-checks:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: pnpm/action-setup@v2.2.4
|
|
||||||
with:
|
|
||||||
version: 8
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "18"
|
|
||||||
cache: pnpm
|
|
||||||
cache-dependency-path: "web/pnpm-lock.yaml"
|
|
||||||
- run: pnpm install
|
|
||||||
working-directory: web
|
|
||||||
- name: Run eslint check
|
|
||||||
run: pnpm lint
|
|
||||||
working-directory: web
|
|
||||||
|
|
||||||
frontend-build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: pnpm/action-setup@v2.2.4
|
|
||||||
with:
|
|
||||||
version: 8
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "18"
|
|
||||||
cache: pnpm
|
|
||||||
cache-dependency-path: "web/pnpm-lock.yaml"
|
|
||||||
- run: pnpm install
|
|
||||||
working-directory: web
|
|
||||||
- name: Run frontend build
|
|
||||||
run: pnpm build
|
|
||||||
working-directory: web
|
|
||||||
|
|
||||||
go-tests:
|
go-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
48
.github/workflows/frontend-test.yml
vendored
Normal file
48
.github/workflows/frontend-test.yml
vendored
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
name: Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- "release/v*.*.*"
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
- "web/**"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
eslint-checks:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: pnpm/action-setup@v2.2.4
|
||||||
|
with:
|
||||||
|
version: 8
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "18"
|
||||||
|
cache: pnpm
|
||||||
|
cache-dependency-path: "web/pnpm-lock.yaml"
|
||||||
|
- run: pnpm install
|
||||||
|
working-directory: web
|
||||||
|
- name: Run eslint check
|
||||||
|
run: pnpm lint
|
||||||
|
working-directory: web
|
||||||
|
|
||||||
|
frontend-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: pnpm/action-setup@v2.2.4
|
||||||
|
with:
|
||||||
|
version: 8
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "18"
|
||||||
|
cache: pnpm
|
||||||
|
cache-dependency-path: "web/pnpm-lock.yaml"
|
||||||
|
- run: pnpm install
|
||||||
|
working-directory: web
|
||||||
|
- name: Run frontend build
|
||||||
|
run: pnpm build
|
||||||
|
working-directory: web
|
4
.github/workflows/proto-linter.yml
vendored
4
.github/workflows/proto-linter.yml
vendored
@ -1,6 +1,10 @@
|
|||||||
name: Proto linter
|
name: Proto linter
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- "release/v*.*.*"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user