Skip to content

Commit

Permalink
Merge pull request #529 from appuio/update-gh
Browse files Browse the repository at this point in the history
Update GitHub actions to node v18 and update others
  • Loading branch information
ccremer authored Apr 6, 2023
2 parents 9bc9dca + b0968df commit 0b30e34
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/destroy-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helm-version: v3.7.1
helmfile-version: v0.142.0
helm-version: v3.11.2
helmfile-version: v0.152.0
install-kubectl: false
additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.11.1
additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.15.1

- name: Install CLI tools from OpenShift Mirror
uses: redhat-actions/openshift-tools-installer@v1
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
**Cluster** | ${{ env.OPENSHIFT_API }}
- name: Notify on failure
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
if: ${{ failure() }}
with:
issue-number: ${{ github.event.number }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run build
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/template-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run lint
Expand All @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run test
Expand All @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run build
Expand All @@ -45,16 +45,21 @@ jobs:
- dist
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- uses: actions/download-artifact@v3
with:
name: dist
path: dist
- uses: cypress-io/github-action@v4
- uses: cypress-io/github-action@v5
with:
start: npm run http-server
# workaround so that Cypress runs with the system node version rather than action's configured node version.
# https://github.com/cypress-io/github-action/issues/489#issuecomment-1021379037
command-prefix: "--"
- uses: actions/upload-artifact@v3
if: failure()
with:
name: e2e-videos
path: cypress/videos

8 changes: 4 additions & 4 deletions .github/workflows/template-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helm-version: v3.7.1
helmfile-version: v0.142.0
helm-version: v3.11.2
helmfile-version: v0.152.0
install-kubectl: false
additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.11.1
additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.15.1

- name: Install CLI tools from OpenShift Mirror
uses: redhat-actions/openshift-tools-installer@v1
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
run: .github/keycloak-redirect-url.sh "${{ secrets.keycloak_user }}" "${{ secrets.keycloak_password }}" "https://${{ steps.deployment_info.outputs.route_host }}"

- name: Notify on success
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
if: ${{ github.event_name == 'pull_request' }}
with:
issue-number: ${{ github.event.number }}
Expand Down

0 comments on commit 0b30e34

Please sign in to comment.