Skip to content

Commit

Permalink
Fix node version syntax in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Dec 11, 2023
1 parent b0ef7ce commit 45b6bfe
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

# Skip any pushes from the act CLI
# Comment out for testing
if: ${{ github.actor != 'nektos/act' }}
if: ${{ github.actor != "nektos/act" }}

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- name: Checkout the repo with submodules
uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: "recursive"

- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: 'lts'
node-version: "lts/*"

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
name: Deploy
runs-on: ubuntu-latest

# Skip any pushes with commit flag '(skip deploy)'
# Skip any pushes with commit flag "(skip deploy)"
# Comment out for testing
if: ${{ !contains(github.event.head_commit.message, '(skip deploy)') }}
if: ${{ !contains(github.event.head_commit.message, "(skip deploy)") }}

steps:
- name: Checkout the repo with submodules
uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: "recursive"

- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: 'lts'
node-version: "lts/*"

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- name: Checkout the repo with submodules
uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: "recursive"

- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: 'lts'
node-version: "lts/*"

- name: Get the tag name
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ jobs:
name: Deploy
runs-on: ubuntu-latest

# Skip any pushes with commit flag '(skip deploy)'
# Skip any pushes with commit flag "(skip deploy)"
# Comment out for testing
if: ${{ !contains(github.event.head_commit.message, '(skip deploy)') }}
if: ${{ !contains(github.event.head_commit.message, "(skip deploy)") }}

steps:
- name: Checkout the repo with submodules
uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: "recursive"

- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: 'lts'
node-version: "lts/*"

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit 45b6bfe

Please sign in to comment.