diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml new file mode 100644 index 0000000..baa63be --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,26 @@ +name: verify +on: + push: + branches: [main] + pull_request: + branches: [main] +jobs: + verify: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: "22" + cache: "npm" + - run: npm ci + - run: npm run lint + - run: npm run typecheck + - run: npm run build + - run: npm test + cross: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 + - run: docker buildx build --platform linux/arm64 . \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1e6a81e --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +.PHONY: dev build test run cross +dev: + npm run dev +build: + npm run build +test: + npm test +run: + npm run start +cross: + docker buildx build --platform linux/arm64 . \ No newline at end of file