We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2641ab2 + e0b32e1 commit 9474ccbCopy full SHA for 9474ccb
.github/workflows/lint.yaml
@@ -22,10 +22,16 @@ jobs:
22
run: npm ci
23
working-directory: ./crowdsec-docs/
24
25
+ - name: Get Biome version from package.json
26
+ id: biome-version
27
+ run: |
28
+ VERSION=$(node -p "require('./crowdsec-docs/package.json').devDependencies['@biomejs/biome']")
29
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
30
+
31
- name: Setup Biome
32
uses: biomejs/setup-biome@v2
33
with:
- version: latest
34
+ version: ${{ steps.biome-version.outputs.version }}
35
36
- name: Run Biome
37
run: biome ci .
0 commit comments