diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0ee3be6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: Check + +on: + push: + branches: + - main + pull_request: + branches: + - main + +env: + NUXT_TELEMETRY_DISABLED: 1 + +jobs: + check: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + with: + node-version-file: ".tool-versions" + cache: "yarn" + - run: yarn install --frozen-lockfile + - run: yarn dev:prepare + - run: yarn lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc24603..eafe2de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,12 +9,18 @@ permissions: id-token: write # Required for OIDC contents: read +env: + NUXT_TELEMETRY_DISABLED: 1 + jobs: build: runs-on: ubuntu-latest + timeout-minutes: 5 steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: "24.x" registry-url: "https://registry.npmjs.org/"