From 083e02d6ef7785db727ccb0de33ef9ba5b86e836 Mon Sep 17 00:00:00 2001 From: Sergey Rubanov Date: Thu, 12 Jan 2023 22:52:56 +0400 Subject: [PATCH] fix GH workflow --- .github/workflows/nodejs.yml | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 1ab521ac..92d63bd8 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -5,7 +5,7 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 timeout-minutes: 5 strategy: diff --git a/package.json b/package.json index 6c136fa6..b76cb429 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,9 @@ "version": "15.0.0", "description": "A component framework.", "scripts": { - "ci:test:tape-run": "esbuild --bundle test/index.js | tape-run", "lint": "standard .", - "test": "npm run build && standard && esbuild --bundle test/index.js | tape-run", + "test": "npm run build && npm run lint && npm run build:test | tape-run", + "ci:test:tape-run": "esbuild --bundle test/index.js | tape-run", "test:open": "npm run build && esbuild --bundle test/index.js | tape-run --browser chrome --keep-open", "build:base": "esbuild src/index.js --define:VERSION=\\\"$npm_package_version\\\" --outfile=index.js", "build:minify": "esbuild index.js --keep-names --minify --outfile=dist/tonic.min.js", @@ -19,7 +19,7 @@ "license": "MIT", "devDependencies": { "benchmark": "^2.1.4", - "esbuild": "^0.15.10", + "esbuild": "^0.16.17", "standard": "17.0.0", "tape-run": "^10.0.0", "tapzero": "0.6.1",