Skip to content

Commit

Permalink
updated gha using node@16
Browse files Browse the repository at this point in the history
  • Loading branch information
Mick Piereder committed Apr 30, 2024
1 parent 24fbaed commit e7f2044
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4

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

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/finish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master # Always finish releases from the "merged to" master
fetch-depth: 0
Expand All @@ -41,7 +41,7 @@ jobs:
- finish-release
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false # Needed so we can push with different credentials.
Expand All @@ -53,10 +53,10 @@ jobs:
run: |
git config --global user.name $git_user &&
git config --global user.email $git_email
- name: Use Node.js 16.x
uses: actions/setup-node@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
- name: Version bump
run: |
npm version patch --no-git-tag-version &&
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/start-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: develop # Always release from develop
fetch-depth: 0
Expand Down Expand Up @@ -43,10 +43,10 @@ jobs:
run: |
git config --global user.name $git_user &&
git config --global user.email $git_email
- name: Use Node.js 16.x
uses: actions/setup-node@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
- name: Start gitflow release
uses: duplocloud/ghactions-start-gitflow-release@master
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
- run: |
npm install
- run: |
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
tenant: ${{ env.duplo_tenant_id }}
Expand Down

0 comments on commit e7f2044

Please sign in to comment.