Skip to content

Commit

Permalink
add verification steps on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jaedle committed Sep 24, 2024
1 parent ceabf4b commit 54d32f9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions .task/checksum/install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3b53cb56dce578d56ea3fd520593dbbf
10 changes: 10 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,23 @@ tasks:
world:
aliases: [ default ]
cmds:
- task: install
- task: clean
- task: check
- task: test
- task: build

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
Expand Down

0 comments on commit 54d32f9

Please sign in to comment.