try running rome using setup-rome

This commit is contained in:
Koen Lagveen 2022-12-28 16:56:47 +01:00
parent b174001a1e
commit 2defbb1fcf
2 changed files with 6 additions and 1 deletions

View File

@ -23,3 +23,8 @@ jobs:
npm test
env:
CI: true
- uses: rome/setup-rome@v0.4
with:
version: latest
- run: rome ci index.js

View File

@ -4,7 +4,7 @@
"description": "Test drive programming fonts online",
"main": "index.js",
"scripts": {
"test": "rome ci index.js && ajv -c ajv-formats -s fonts-schema.json -d fonts.json && cd fonts/stylesheets/ && lessc fonts.less stylesheet.css"
"test": "ajv -c ajv-formats -s fonts-schema.json -d fonts.json && cd fonts/stylesheets/ && lessc fonts.less stylesheet.css"
},
"repository": {
"type": "git",