Skip to content

Commit 3dfb803

Browse files
authored
feat: revert to node 16 (#36)
Github actions yaml doesn't yet support setting node version to 18. - Reverted fetch to axios (only in node 18)
1 parent 4bce0f1 commit 3dfb803

File tree

11 files changed

+10886
-3324
lines changed

11 files changed

+10886
-3324
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Test
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77
release:
88
types: [released, prereleased]
99
push:
@@ -19,22 +19,22 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
- run: echo true
2424

2525
lint:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v3
3030
- run: echo true
3131

3232
notify:
3333
runs-on: ubuntu-latest
3434
needs: [test, lint]
3535
if: always()
3636
steps:
37-
- uses: actions/checkout@v2
37+
- uses: actions/checkout@v3
3838
- name: Test Output
3939
uses: ./ # Uses an action in the root directory
4040
env:

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v16

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
- run: npm install
105105
- run: npm test
106106

107-
- uses: iRoachie/[email protected].0
107+
- uses: iRoachie/[email protected].2
108108
env:
109109
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
110110
with:
@@ -156,7 +156,7 @@ jobs:
156156
if: always() # Always runs even if one of the builds fails
157157
runs-on: ubuntu-latest
158158
steps:
159-
- uses: iRoachie/[email protected].0
159+
- uses: iRoachie/[email protected].2
160160
env:
161161
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
162162
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
status:
55
description: Status of the workflow
66
runs:
7-
using: node12
7+
using: node16
88
main: dist/index.js
99
branding:
1010
icon: 'check-circle'

0 commit comments

Comments
 (0)