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 7, 2024
1 parent 90bf097 commit 8f3a0da
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 20 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 @@ _Replace `src=#` in `<img>` tags of HTML files with an inline Base64 data URL of

[![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/center-key/img-src-placeholder/blob/main/LICENSE.txt)
[![npm](https://img.shields.io/npm/v/img-src-placeholder.svg)](https://www.npmjs.com/package/img-src-placeholder)
[![Build](https://github.com/center-key/img-src-placeholder/workflows/build/badge.svg)](https://github.com/center-key/img-src-placeholder/actions/workflows/run-spec-on-push.yaml)
[![Build](https://github.com/center-key/img-src-placeholder/actions/workflows/run-spec-on-push.yaml/badge.svg)](https://github.com/center-key/img-src-placeholder/actions/workflows/run-spec-on-push.yaml)

**img-src-placeholder** solves the trickly little problem that valid HTML requires that all `<img>` tags
have a `src` attribute even if your web application sets the `src` attribute dynamically.
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,23 +82,23 @@
"cli-argv-util": "~1.2",
"fancy-log": "~2.0",
"istextorbinary": "~9.5",
"replacer-util": "~1.2",
"replacer-util": "~1.3",
"slash": "~5.1"
},
"devDependencies": {
"@types/fancy-log": "~2.0",
"@types/node": "~20.11",
"@typescript-eslint/eslint-plugin": "~6.19",
"@typescript-eslint/parser": "~6.19",
"add-dist-header": "~1.3",
"assert-deep-strict-equal": "~1.1",
"copy-file-util": "~1.1",
"eslint": "~8.56",
"@types/node": "~20.12",
"@typescript-eslint/eslint-plugin": "~7.8",
"@typescript-eslint/parser": "~7.8",
"add-dist-header": "~1.4",
"assert-deep-strict-equal": "~1.2",
"copy-file-util": "~1.2",
"eslint": "8.57.0",
"jshint": "~2.13",
"mocha": "~10.2",
"mocha": "~10.4",
"rimraf": "~5.0",
"run-scripts-util": "~1.2",
"typescript": "~5.3",
"w3c-html-validator": "~1.6"
"typescript": "~5.4",
"w3c-html-validator": "~1.8"
}
}

0 comments on commit 8f3a0da

Please sign in to comment.