Skip to content

Commit

Permalink
chore: use latest major versions of depended on actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsMissEm committed Apr 14, 2022
1 parent 20208e4 commit 64c9526
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-teardown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: github.event.ref_type == 'branch'
steps:
- name: Prepare for unpublication from npm
uses: actions/setup-node@v2.1.5
uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Create GitHub Deployment
id: create-deployment
if: github.actor != 'dependabot[bot]'
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
with:
route: POST /repos/:repository/deployments
repository: ${{ github.repository }}
Expand All @@ -47,10 +47,10 @@ jobs:
outputs:
version-nr: ${{ steps.determine-npm-version.outputs.version-nr }}
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
- name: Mark GitHub Deployment as in progress
id: start-deployment
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
if: github.actor != 'dependabot[bot]'
with:
route: POST /repos/:repository/deployments/:deployment/statuses
Expand All @@ -63,7 +63,7 @@ jobs:
mediaType: '{"previews": ["flash", "ant-man"]}'
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v3
with:
node-version: "14.x"
registry-url: "https://registry.npmjs.org"
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
TAG_SLUG: ${{ needs.prepare-deployment.outputs.tag-slug }}
- name: Mark GitHub Deployment as successful
if: github.actor != 'dependabot[bot]'
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
with:
route: POST /repos/:repository/deployments/:deployment/statuses
repository: ${{ github.repository }}
Expand All @@ -113,7 +113,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Mark GitHub Deployment as failed
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
if: failure()
with:
route: POST /repos/:repository/deployments/:deployment/statuses
Expand All @@ -140,8 +140,8 @@ jobs:
node-version: [16.x, 14.x]
needs: [prepare-deployment, publish-npm]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.1.5
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://registry.npmjs.org"
Expand All @@ -167,8 +167,8 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare-deployment, publish-npm]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.1.5
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "14.x"
registry-url: "https://registry.npmjs.org"
Expand All @@ -184,7 +184,7 @@ jobs:
VERSION_NR: ${{ needs.publish-npm.outputs.version-nr }}
- name: Archive Parcel build artifacts
if: github.actor != 'dependabot[bot]'
uses: actions/upload-artifact@v2.2.3
uses: actions/upload-artifact@v3
continue-on-error: true
with:
name: parcel-dist
Expand All @@ -194,8 +194,8 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare-deployment, publish-npm]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.1.5
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "14.x"
registry-url: "https://registry.npmjs.org"
Expand All @@ -209,7 +209,7 @@ jobs:
env:
VERSION_NR: ${{ needs.publish-npm.outputs.version-nr }}
- name: Archive Webpack build artifacts
uses: actions/upload-artifact@v2.2.3
uses: actions/upload-artifact@v3
continue-on-error: true
if: github.actor != 'dependabot[bot]'
with:
Expand All @@ -229,8 +229,8 @@ jobs:
# https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
if: github.actor != 'dependabot[bot]'
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://registry.npmjs.org"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [16.x, 14.x, 12.x]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.5
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
uses: actions/cache@v2.1.5
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# this library still implements the legacy one.
environment-name: ["ESS Production"]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
E2E_TEST_ENVIRONMENT: ${{ matrix.environment-name }}
- name: Add status check with successful test result
id: set-status-check-success
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
with:
route: POST /repos/:repository/statuses/:ref
repository: ${{ github.repository }}
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Add status check with failed test result
id: set-status-check-failure
if: failure()
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
with:
route: POST /repos/:repository/statuses/:ref
repoitory: ${{ github.repository }}
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Create GitHub Deployment
id: create-deployment
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
with:
route: POST /repos/:repository/deployments
repository: ${{ github.repository }}
Expand All @@ -33,10 +33,10 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare-deployment]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
- name: Mark GitHub Deployment as in progress
id: start-deployment
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
with:
route: POST /repos/:repository/deployments/:deployment/statuses
repository: ${{ github.repository }}
Expand All @@ -49,7 +49,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Prepare for publication to npm
uses: actions/setup-node@v2.1.5
uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
Expand All @@ -63,7 +63,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Mark GitHub Deployment as successful
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
with:
route: POST /repos/:repository/deployments/:deployment/statuses
repository: ${{ github.repository }}
Expand All @@ -77,7 +77,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Mark GitHub Deployment as failed
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2
if: failure()
with:
route: POST /repos/:repository/deployments/:deployment/statuses
Expand All @@ -103,8 +103,8 @@ jobs:
node-version: [16.x, 14.x]
needs: [prepare-deployment, publish-npm]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.1.5
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://registry.npmjs.org"
Expand All @@ -125,8 +125,8 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare-deployment, publish-npm]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.1.5
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
Expand All @@ -136,7 +136,7 @@ jobs:
npm install @inrupt/solid-client-notifications
npx parcel build index.ts
- name: Archive Parcel build artifacts
uses: actions/upload-artifact@v2.2.3
uses: actions/upload-artifact@v3
with:
name: parcel-dist
path: .github/workflows/cd-packaging-tests/bundler-parcel/dist
Expand All @@ -145,8 +145,8 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare-deployment, publish-npm]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.1.5
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
Expand All @@ -157,7 +157,7 @@ jobs:
npm install webpack@5 webpack-cli buffer
npx webpack --devtool source-map
- name: Archive Webpack build artifacts
uses: actions/upload-artifact@v2.2.3
uses: actions/upload-artifact@v3
with:
name: webpack-dist
path: .github/workflows/cd-packaging-tests/bundler-webpack/dist
Expand All @@ -171,8 +171,8 @@ jobs:
node-version: [16.x]
needs: [prepare-deployment, publish-npm]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.1.5
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://registry.npmjs.org"
Expand Down

0 comments on commit 64c9526

Please sign in to comment.