initial commit for GitHub
This commit is contained in:
33
.gitea/workflows/client.yml
Normal file
33
.gitea/workflows/client.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Client Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: linux_amd64
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [21.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: Lint
|
||||
working-directory: client
|
||||
run: |
|
||||
npm install
|
||||
npm run prettier:check
|
||||
|
||||
- name: Build
|
||||
working-directory: client
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
Reference in New Issue
Block a user