Skip to content

Commit

Permalink
Merge pull request #343 from CodingBlackFemales:TECH-501
Browse files Browse the repository at this point in the history
ci: updates actions and Node versions
  • Loading branch information
Genyus authored Mar 1, 2024
2 parents 46905c2 + 367b39d commit 83d4066
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
- uses: ahmadnassri/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
steps:
# Sets the Node version
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
- name: Check site
uses: srt32/uptime@master
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache Composer dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
Expand Down Expand Up @@ -51,14 +51,14 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'

# Bumps version, updates changelog and creates tag. Adds [skip ci] to commit message to prevent infinite workflow loop
- name: Tag release
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Deploy to hosting environment
env:
WORKFLOW_ID: ${{ 'deploy-application.yml' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |-
await github.rest.actions.createWorkflowDispatch({
Expand Down

0 comments on commit 83d4066

Please sign in to comment.