From 2defbb1fcfc022aa0f07138348b3dd86348343c4 Mon Sep 17 00:00:00 2001 From: Koen Lagveen Date: Wed, 28 Dec 2022 16:56:47 +0100 Subject: [PATCH] try running rome using setup-rome --- .github/workflows/nodejs.yml | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index e307881..647fe73 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -23,3 +23,8 @@ jobs: npm test env: CI: true + + - uses: rome/setup-rome@v0.4 + with: + version: latest + - run: rome ci index.js diff --git a/package.json b/package.json index afb4511..4f11d46 100644 --- a/package.json +++ b/package.json @@ -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",