~cytrogen/masto-fe

ref: 5809fa395e81f60a7f447b9a512103f21e0e69d7 masto-fe/.woodpecker/lint.yaml -rw-r--r-- 847 bytes
5809fa39 — Cytrogen [feature] Login page improvements and i18n 4 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
steps:
  lint:
    image: docker.io/superseriousbusiness/masto-fe-standalone-woodpecker-build:0.1.0
    pull: true

    # https://woodpecker-ci.org/docs/usage/volumes
    volumes:
      - /woodpecker/masto-fe-standalone/node_modules:/woodpecker/src/codeberg.org/superseriousbusiness/masto-fe-standalone/node_modules
      - /woodpecker/masto-fe-standalone/.eslintcache:/woodpecker/src/codeberg.org/superseriousbusiness/masto-fe-standalone/.eslintcache

    # https://woodpecker-ci.org/docs/administration/configuration/backends/docker#run-user
    backend_options:
      docker:
        user: 1000:1000

    # https://woodpecker-ci.org/docs/usage/workflow-syntax#commands
    commands:
      - yarn
      - yarn lint:js

    # https://woodpecker-ci.org/docs/usage/workflow-syntax#when---conditional-execution
    when:
      - event: pull_request