Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #46

Merged
merged 23 commits into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
934cd5a
Version update
HardNorth Oct 14, 2022
953384e
Bump `github-version-generate` version
HardNorth Oct 14, 2022
e7f646b
READMEs update
HardNorth Oct 14, 2022
55a1dd9
Add ESLint
HardNorth Oct 27, 2022
7c3184b
Add engines to package.json
HardNorth Oct 27, 2022
a47764a
Bump decode-uri-component from 0.2.0 to 0.2.2
dependabot[bot] Dec 6, 2022
e86fcdd
Merge pull request #40 from HardNorth/dependabot/npm_and_yarn/decode-…
HardNorth Dec 6, 2022
6e7c097
Bump json5 from 1.0.1 to 1.0.2
dependabot[bot] Jan 9, 2023
d36fef3
Merge pull request #41 from HardNorth/dependabot/npm_and_yarn/json5-1…
HardNorth Jan 9, 2023
f23a655
Update README.md
HardNorth Jan 9, 2023
cb50342
Bump tough-cookie from 4.1.2 to 4.1.3
dependabot[bot] Jul 9, 2023
802b10d
Merge pull request #42 from HardNorth/dependabot/npm_and_yarn/tough-c…
HardNorth Jul 10, 2023
f0065dc
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 18, 2023
e25ce74
Merge pull request #43 from HardNorth/dependabot/npm_and_yarn/word-wr…
HardNorth Jul 21, 2023
2731bb9
Bump @babel/traverse from 7.19.4 to 7.23.2
dependabot[bot] Oct 18, 2023
071947c
Merge pull request #44 from HardNorth/dependabot/npm_and_yarn/babel/t…
HardNorth Oct 18, 2023
4c1858c
Node version update
HardNorth Feb 3, 2024
d1d919c
Version bump
HardNorth Feb 3, 2024
c5eff27
CHANGELOG.md update
HardNorth Feb 3, 2024
62b200a
CHANGELOG.md update
HardNorth Feb 3, 2024
525c933
Update dependencies
HardNorth Feb 3, 2024
2bc033b
Move common logic to `app.js` file to avoid running application on im…
HardNorth Feb 3, 2024
501b787
Update actions versions
HardNorth Feb 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": "airbnb-base",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2,
{
"ObjectExpression": 1,
"SwitchCase": 1
}
]
}
}
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm ci
- name: Test with Jest
run: npm run test
- name: Test with ESLint
run: npm run lint
- name: Build with npm
run: npm run build
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
steps:
# Prepare
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Setup git credentials
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
git config user.password ${{ secrets.GITHUB_TOKEN }}

- name: Generate versions
uses: HardNorth/github-version-generate@v1.2.0
uses: HardNorth/github-version-generate@v1
with:
version-source: file
version-file: ${{ env.VERSION_FILE }}
Expand All @@ -52,6 +52,8 @@ jobs:
run: npm ci
- name: Test with Jest
run: npm run test
- name: Test with ESLint
run: npm run lint
- name: Build with ncc
run: npm run build

Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Changelog

## [Unreleased]
### Changed
- Node.js version updated on 20, by @HardNorth
- Minor version updated on `1.4`, by @HardNorth
- Move common logic to `app.js` file to avoid running application on import, by @HardNorth

## [1.3.0]
### Changed
- NodeJS version updated on 16, by @HardNorth
- Node.js version updated on 16, by @HardNorth
- `@actions/core` and `@actions/github` versions updated on 1.10.0 and 5.1.1 respectively, by @HardNorth
- Minor version updated on `1.3`, by @HardNorth

Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Version generation for GitHub Actions

![CI Build](https://github.com/HardNorth/github-version-generate/workflows/CI%20Build/badge.svg?branch=master)
[![CI Build](https://github.com/HardNorth/github-version-generate/actions/workflows/ci.yml/badge.svg)](https://github.com/HardNorth/github-version-generate/actions/workflows/ci.yml)
[![License](https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0)

> Please star this repository if you like the application, it will help more people see it. Thank you!
Expand Down Expand Up @@ -67,12 +67,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: 'temurin'
java-version: '8'

- name: Generate versions
uses: HardNorth/github-version-generate@v1.3.0
Expand Down Expand Up @@ -112,7 +114,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Get version fragment to bump
id: getVersionFragment
Expand Down
10 changes: 6 additions & 4 deletions README_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: 'temurin'
java-version: '8'

- name: Generate versions
uses: HardNorth/github-version-generate@v$LATEST_VERSION
Expand Down Expand Up @@ -112,7 +114,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Get version fragment to bump
id: getVersionFragment
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,5 @@ outputs:
description: 'A version prepared for pushing into a repository instead of "CURRENT_VERSION" after release, usually incremented by 1'

runs:
using: 'node16'
using: 'node20'
main: 'build/index.js'
Loading
Loading