diff --git a/.github/workflows/release-on-vtag.yaml b/.github/workflows/release-on-vtag.yaml index faed059..a9c87bf 100644 --- a/.github/workflows/release-on-vtag.yaml +++ b/.github/workflows/release-on-vtag.yaml @@ -1,15 +1,16 @@ -name: release +name: Create Release + on: push: tags: - 'v*' + jobs: build: - name: Create Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/create-release@v1 + - uses: actions/checkout@v4 #see: https://github.com/actions/checkout/releases + - uses: actions/create-release@v1 #see: https://github.com/actions/create-release/releases env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} with: diff --git a/.github/workflows/run-spec-on-push.yaml b/.github/workflows/run-spec-on-push.yaml index 463ef8d..3f8814c 100644 --- a/.github/workflows/run-spec-on-push.yaml +++ b/.github/workflows/run-spec-on-push.yaml @@ -1,11 +1,12 @@ -name: build +name: Build and Run Specifications + on: [push] + jobs: build: - name: Run Specifications runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 #see: https://github.com/actions/checkout/releases + - uses: actions/setup-node@v4 #see: https://github.com/actions/setup-node/releases - run: npm install - run: npm test diff --git a/README.md b/README.md index 947db85..95c31a0 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ _Organize npm package.json scripts into named groups of easy to manage commands [![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/center-key/run-scripts-util/blob/main/LICENSE.txt) [![npm](https://img.shields.io/npm/v/run-scripts-util.svg)](https://www.npmjs.com/package/run-scripts-util) -[![Build](https://github.com/center-key/run-scripts-util/workflows/build/badge.svg)](https://github.com/center-key/run-scripts-util/actions/workflows/run-spec-on-push.yaml) +[![Build](https://github.com/center-key/run-scripts-util/actions/workflows/run-spec-on-push.yaml/badge.svg)](https://github.com/center-key/run-scripts-util/actions/workflows/run-spec-on-push.yaml) **run-scripts-util** reads the `runScriptsConfig` settings in your **package.son** to get groups (arrays) of commands to execute. diff --git a/package.json b/package.json index c104892..8b15d03 100644 --- a/package.json +++ b/package.json @@ -111,18 +111,18 @@ }, "devDependencies": { "@types/fancy-log": "~2.0", - "@types/node": "~20.11", - "@typescript-eslint/eslint-plugin": "~7.0", - "@typescript-eslint/parser": "~7.0", + "@types/node": "~20.12", + "@typescript-eslint/eslint-plugin": "~7.9", + "@typescript-eslint/parser": "~7.9", "add-dist-header": "~1.4", "assert-deep-strict-equal": "~1.2", - "copy-file-util": "~1.1", + "copy-file-util": "~1.2", "copy-folder-util": "~1.1", - "eslint": "~8.56", + "eslint": "8.57.0", "jshint": "~2.13", - "mocha": "~10.3", + "mocha": "~10.4", "npm-run-all2": "~6.1", "rimraf": "~5.0", - "typescript": "~5.3" + "typescript": "~5.4" } } diff --git a/spec/fixtures/target/a/release-on-vtag.yaml b/spec/fixtures/target/a/release-on-vtag.yaml index faed059..a9c87bf 100644 --- a/spec/fixtures/target/a/release-on-vtag.yaml +++ b/spec/fixtures/target/a/release-on-vtag.yaml @@ -1,15 +1,16 @@ -name: release +name: Create Release + on: push: tags: - 'v*' + jobs: build: - name: Create Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/create-release@v1 + - uses: actions/checkout@v4 #see: https://github.com/actions/checkout/releases + - uses: actions/create-release@v1 #see: https://github.com/actions/create-release/releases env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} with: diff --git a/spec/fixtures/target/a/run-spec-on-push.yaml b/spec/fixtures/target/a/run-spec-on-push.yaml index 463ef8d..3f8814c 100644 --- a/spec/fixtures/target/a/run-spec-on-push.yaml +++ b/spec/fixtures/target/a/run-spec-on-push.yaml @@ -1,11 +1,12 @@ -name: build +name: Build and Run Specifications + on: [push] + jobs: build: - name: Run Specifications runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 #see: https://github.com/actions/checkout/releases + - uses: actions/setup-node@v4 #see: https://github.com/actions/setup-node/releases - run: npm install - run: npm test