From 60b2548efdac0980b099c8b417c7e1d31a766089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Tue, 24 Feb 2026 14:23:01 +0000 Subject: [PATCH] Set up Gitea Actions/CI (#23) Reviewed-on: https://gitea.kosmos.org/raucao/marco/pulls/23 --- .../workflows/ci.yml => .gitea/workflows/ci.yaml | 16 +++++++--------- app/components/icon.gjs | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) rename .github/workflows/ci.yml => .gitea/workflows/ci.yaml (76%) diff --git a/.github/workflows/ci.yml b/.gitea/workflows/ci.yaml similarity index 76% rename from .github/workflows/ci.yml rename to .gitea/workflows/ci.yaml index 59b41a9..6b46423 100644 --- a/.github/workflows/ci.yml +++ b/.gitea/workflows/ci.yaml @@ -18,15 +18,15 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: version: 10 - name: Install Node - uses: actions/setup-node@v6 + uses: actions/setup-node@v4 with: node-version: 22 - cache: pnpm + - name: Install Dependencies run: pnpm install --frozen-lockfile - name: Lint @@ -35,18 +35,16 @@ jobs: test: name: "Test" runs-on: ubuntu-latest + container: + image: cypress/browsers:node-22.19.0-chrome-139.0.7258.154-1-ff-142.0.1-edge-139.0.3405.125-1 timeout-minutes: 10 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: version: 10 - - name: Install Node - uses: actions/setup-node@v6 - with: - node-version: 22 - cache: pnpm + - name: Install Dependencies run: pnpm install --frozen-lockfile - name: Run Tests diff --git a/app/components/icon.gjs b/app/components/icon.gjs index f00b68d..b00dc5f 100644 --- a/app/components/icon.gjs +++ b/app/components/icon.gjs @@ -66,7 +66,7 @@ export default class IconComponent extends Component { get style() { return htmlSafe( - `width:${this.size}px;height:${this.size}px;color:${this.color}`, + `width:${this.size}px;height:${this.size}px;color:${this.color}` ); }