From c93f42c07c596738443c6d964154ce64575b08a3 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Thu, 13 May 2021 12:04:29 +0100 Subject: [PATCH] sync with setup-cml codebase, minor review --- .github/workflows/check.yml | 14 ++++++-------- .restyled.yaml | 2 ++ package.json | 4 +++- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index e985f4f..53de592 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -26,22 +26,20 @@ jobs: - run: npm ci - run: npm run lint - run: npm run test - - name: run local action with '1.0.1' - uses: ./.github/.. + - name: local action with '1.0.1' + uses: ./ with: version: '1.0.1' - - name: test DVC version + - name: test DVC specific version if: "!contains(fromJSON(matrix.os).runs-on, 'windows')" run: | DVC_VER=$(dvc --version) if [ $DVC_VER != '1.0.1' ]; then exit 1 fi - - name: run local action with 'latest' - uses: ./.github/.. - with: - version: latest - - name: test DVC version + - name: local action with defaults + uses: ./ + - name: test DVC latest version if: "!contains(fromJSON(matrix.os).runs-on, 'windows')" run: | DVC_VER=$(dvc --version) diff --git a/.restyled.yaml b/.restyled.yaml index 625e049..e855252 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -2,5 +2,7 @@ restylers: - name: prettier arguments: ['--write'] include: + - './*.js' + - 'src/**/*.js' - 'assets/*.json' - './**/*.{yaml,yml,md,json}' diff --git a/package.json b/package.json index 44a958c..63b870d 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,9 @@ }, "keywords": [ "dvc", - "github action" + "data version control", + "github action", + "github actions" ], "license": "Apache-2.0", "licenses": [