diff --git a/.github/workflows/test-create-release.yml b/.github/workflows/test-create-release.yml index 36d4489..9ddcdfc 100644 --- a/.github/workflows/test-create-release.yml +++ b/.github/workflows/test-create-release.yml @@ -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: @@ -30,7 +30,7 @@ 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 }} @@ -38,7 +38,7 @@ jobs: 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: diff --git a/.github/workflows/test-latest-release-commit-hash.yml b/.github/workflows/test-latest-release-commit-hash.yml index c275a20..0881973 100644 --- a/.github/workflows/test-latest-release-commit-hash.yml +++ b/.github/workflows/test-latest-release-commit-hash.yml @@ -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: diff --git a/.github/workflows/test-npm-run.yml b/.github/workflows/test-npm-run.yml index d971c1a..080e1c7 100644 --- a/.github/workflows/test-npm-run.yml +++ b/.github/workflows/test-npm-run.yml @@ -19,12 +19,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [16.x, 20.x] 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 }} diff --git a/.github/workflows/test-publish-npm.yml b/.github/workflows/test-publish-npm.yml index 67c081c..18aa324 100644 --- a/.github/workflows/test-publish-npm.yml +++ b/.github/workflows/test-publish-npm.yml @@ -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 }} diff --git a/create-release/action.yml b/create-release/action.yml index abb87bb..8a5d1b4 100644 --- a/create-release/action.yml +++ b/create-release/action.yml @@ -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 }} @@ -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 }} @@ -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 diff --git a/generate-db-diagram/action.yml b/generate-db-diagram/action.yml index 583212f..a40dedf 100644 --- a/generate-db-diagram/action.yml +++ b/generate-db-diagram/action.yml @@ -23,7 +23,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Fetch mermerd diff --git a/generate-graphql-docs/action.yml b/generate-graphql-docs/action.yml index 6558427..9a2553c 100644 --- a/generate-graphql-docs/action.yml +++ b/generate-graphql-docs/action.yml @@ -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 diff --git a/latest-release-commit-hash/action.yml b/latest-release-commit-hash/action.yml index 34b51be..af1c2fd 100644 --- a/latest-release-commit-hash/action.yml +++ b/latest-release-commit-hash/action.yml @@ -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" diff --git a/npm-run/action.yml b/npm-run/action.yml index df297bd..7c13c20 100644 --- a/npm-run/action.yml +++ b/npm-run/action.yml @@ -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 @@ -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 }} diff --git a/publish-npm/action.yml b/publish-npm/action.yml index cbec811..2e51fc1 100644 --- a/publish-npm/action.yml +++ b/publish-npm/action.yml @@ -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,