Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
2b60e4772d chore(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 16:21:07 +08:00
6 changed files with 1891 additions and 3631 deletions

View File

@@ -1,45 +0,0 @@
name: Publish semantic tags
on:
release:
types:
- published
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
# Release with semantic tag like v1.0.3
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: npm install semver
- name: Get versions
uses: actions/github-script@v6
id: batch
env:
TAG_NAME: ${{ github.event.release.tag_name }}
with:
script: |
const semver = require('semver')
const { TAG_NAME } = process.env
return {
minor: `v${semver.major(TAG_NAME).toString()}.${semver.minor(TAG_NAME).toString()}`,
major: `v${semver.major(TAG_NAME).toString()}`
}
- run: |
git tag -f "$MAJOR_VER"
git tag -f "$MINOR_VER"
git push origin -f "$MAJOR_VER"
git push origin -f "$MINOR_VER"
env:
MAJOR_VER: ${{ fromJSON(steps.batch.outputs.result).major }}
MINOR_VER: ${{ fromJSON(steps.batch.outputs.result).minor }}

View File

@@ -40,17 +40,3 @@ jobs:
- uses: ./
with:
version: 'v2.4.1'
actionlint:
runs-on: ubuntu-latest
if: github.event.pull_request
permissions:
contents: read
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: reviewdog/action-actionlint@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
reporter: github-pr-review

1826
dist/index.js vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

3625
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@kengotoda/actions-setup-docker-compose",
"version": "1.0.17",
"version": "1.0.7",
"description": "the GitHub Action setting up docker-compose command",
"main": "lib/main.js",
"private": false,
@@ -30,20 +30,20 @@
"dependencies": {
"@actions/core": "^1.4.0",
"@actions/exec": "^1.1.0",
"@actions/tool-cache": "^2.0.1"
"@actions/tool-cache": "^1.7.1"
},
"devDependencies": {
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/node": "^18.0.0",
"@types/node": "^17.0.0",
"@typescript-eslint/parser": "^5.3.0",
"@vercel/ncc": "^0.34.0",
"@vercel/ncc": "^0.33.0",
"eslint": "^8.1.0",
"eslint-plugin-github": "^4.3.3",
"eslint-plugin-jest": "^26.0.0",
"jest": "^27.0.6",
"js-yaml": "^4.1.0",
"prettier": "2.7.1",
"prettier": "2.6.2",
"semantic-release": "^19.0.2",
"ts-jest": "^27.0.3",
"typescript": "^4.3.5"