Skip to content

Commit

Permalink
More descriptive names for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed May 16, 2024
1 parent 107392f commit d93a2f5
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 24 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release-on-vtag.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/run-spec-on-push.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
9 changes: 5 additions & 4 deletions spec/fixtures/target/a/release-on-vtag.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
9 changes: 5 additions & 4 deletions spec/fixtures/target/a/run-spec-on-push.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d93a2f5

Please sign in to comment.