add verification steps on ci
parent
ceabf4b3fc
commit
54d32f9184
|
@ -0,0 +1,20 @@
|
|||
name: Docker Image CI
|
||||
|
||||
env:
|
||||
IMAGE_NAME: mirror-to-gitea
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts
|
||||
- uses: arduino/setup-task@v2
|
||||
- run: task world
|
|
@ -0,0 +1 @@
|
|||
3b53cb56dce578d56ea3fd520593dbbf
|
10
Taskfile.yml
10
Taskfile.yml
|
@ -4,6 +4,7 @@ tasks:
|
|||
world:
|
||||
aliases: [ default ]
|
||||
cmds:
|
||||
- task: install
|
||||
- task: clean
|
||||
- task: check
|
||||
- task: test
|
||||
|
@ -11,6 +12,15 @@ tasks:
|
|||
|
||||
run-local: ./run-local.sh
|
||||
|
||||
install:
|
||||
cmd: npm ci
|
||||
sources:
|
||||
- package.json
|
||||
- package-lock.json
|
||||
status:
|
||||
- test -d node_modules
|
||||
|
||||
|
||||
clean: npm run clean
|
||||
check: npm run check
|
||||
test: npm run test
|
||||
|
|
Loading…
Reference in New Issue