diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-06-13 14:00:04 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-06-13 14:00:04 +0300 |
| commit | c2219b48fb98eec8e40fa65fa330162737ba0e69 (patch) | |
| tree | 349a73a6094422e13ae7e73ca684fec7658e4109 | |
| parent | 5b6aa2e5a08c515d2194e3d37857bf238d255ed8 (diff) | |
| download | the-epube-c2219b48fb98eec8e40fa65fa330162737ba0e69.tar.gz the-epube-c2219b48fb98eec8e40fa65fa330162737ba0e69.tar.xz | |
more actions stuff
| -rw-r--r-- | .forgejo/workflows/lint.yml | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index 4535915..43103c0 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -18,17 +18,22 @@ jobs: eslint: runs-on: codeberg-tiny + container: + image: node:20-bookworm-slim + steps: - - name: Checkout code - uses: codeberg.org/actions/checkout@v4 - - - name: Setup Node.js and Cache - uses: https://github.com - with: - node-version: '20' - cache: 'npm' - - - name: Install and Run ESLint - run: | - npm ci - npx eslint ${ESLINT_PATHS} + - name: Checkout repository + uses: https://forgejo.org + + - name: Cache npm dependencies + uses: https://forgejo.org + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + + - name: Install and Run ESLint + run: | + npm ci + npx eslint ${ESLINT_PATHS} |
