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

Update dependencies #15

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/test-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3 # Need to checkout first to use current repo during testing
- uses: actions/checkout@v4 # Need to checkout first to use current repo during testing
- uses: ./create-release # ottofeller/github-actions/create-release@main
id: create-release
with:
Expand All @@ -30,15 +30,15 @@ jobs:
bump-level: patch
github-token: ${{ secrets.GITHUB_TOKEN }}
# Since we are testing, clean up after the run and delete the release
- uses: dev-drprasad/delete-tag-and-release@v0.2.0
- uses: dev-drprasad/delete-tag-and-release@v1.1
with:
delete_release: false
tag_name: ${{ steps.create-release.outputs.release-name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The previous action fails to find a draft release.
# Thus need to delete it manually with octokit.
- uses: actions/github-script@v6
- uses: actions/github-script@v7
env:
RELEASE_ID: ${{ steps.create-release.outputs.release-id }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-latest-release-commit-hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3 # Need to checkout first to use current repo during testing
- uses: actions/checkout@v4 # Need to checkout first to use current repo during testing
- uses: ./latest-release-commit-hash # ottofeller/github-actions/latest-release-commit-hash@main
id: commit-hash
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-npm-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [16.x, 20.x]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quesabe why not keeping just 20?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not confident the version 16 is not used anywhere downstream. Hence I left the check to ensure the actions still work with node@16.

If you believe we can drop any support for old versions, I can remove v16 and in the future save some resources on these tests.

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.node-version }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3 # Need to checkout first to use current repo during testing
- uses: actions/checkout@v4 # Need to checkout first to use current repo during testing
- uses: ./npm-run # ottofeller/github-actions/npm-run@main
with:
ref: ${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3 # Need to checkout first to use current repo during testing
- uses: actions/checkout@v4 # Need to checkout first to use current repo during testing
- uses: ./publish-npm # ottofeller/github-actions/publish-npm@main
with:
ref: ${{ github.ref }}
Expand Down
8 changes: 4 additions & 4 deletions create-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ outputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Bump version - dry run
id: bump-version
uses: anothrNick/github-tag-action@1.36.0
uses: anothrNick/github-tag-action@1.67.0
env:
DEFAULT_BUMP: ${{ inputs.bump-level }}
INITIAL_VERSION: ${{ inputs.initial-version }}
Expand Down Expand Up @@ -90,7 +90,7 @@ runs:
git commit -m "${{ steps.bump-version.outputs.new_tag || 'Update children packages' }}"
git push origin $(git branch --show-current)
- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.36.0
uses: anothrNick/github-tag-action@1.67.0
env:
CUSTOM_TAG: ${{ steps.bump-version.outputs.new_tag }}
INITIAL_VERSION: ${{ inputs.initial-version }}
Expand All @@ -99,7 +99,7 @@ runs:
GITHUB_TOKEN: ${{ inputs.github-token }}
- name: Create Release
id: create-release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
generate_release_notes: true
Expand Down
2 changes: 1 addition & 1 deletion generate-db-diagram/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch mermerd
Expand Down
2 changes: 1 addition & 1 deletion generate-graphql-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run spectaql with a config
Expand Down
4 changes: 2 additions & 2 deletions latest-release-commit-hash/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ outputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Need to load all the history
- name: Get the latest release info
id: latest_release
uses: InsonusK/get-latest-release@v1.0.1
uses: InsonusK/get-latest-release@v1.1.0
with:
myToken: ${{ inputs.github-token }}
exclude_types: "prerelease|draft"
Expand Down
7 changes: 4 additions & 3 deletions npm-run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ inputs:
Otherwise, uses the default branch.
node-version:
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0'
default: 20
registry-url:
description: >
Optional registry to set up for auth. Will set the registry
Expand All @@ -25,18 +26,18 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ inputs.ref }}
- name: Cache node_modules
id: cache-npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ hashFiles( format('{0}/{1}', inputs.directory, 'package.json') ) }}
path: ${{ inputs.directory }}/node_modules
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
registry-url: ${{ inputs.registry-url }}
Expand Down
2 changes: 1 addition & 1 deletion publish-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
Otherwise, uses the default branch.
node-version:
description: "Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0"
default: 16
default: 20
registry-url:
description: >
Registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file,
Expand Down
Loading