Skip to content

Commit

Permalink
Merge branch 'dev' into releases/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Nov 28, 2023
2 parents b70efb9 + 310f19f commit 0e63acd
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 128 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: '20.10.0'
registry-url: 'https://registry.npmjs.org'

- name: Install Yarn
Expand All @@ -33,6 +33,6 @@ jobs:
yarn test
- name: Uploade CodeCov Report
uses: codecov/[email protected].1
uses: codecov/[email protected].4
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
needs: refresh-api-data
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: '20.10.0'
registry-url: 'https://registry.npmjs.org'

- name: Install Yarn
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: dev

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: '20.10.0'
registry-url: 'https://registry.npmjs.org'
scope: '@jamesives'

Expand All @@ -40,9 +40,9 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: '20.10.0'
registry-url: 'https://npm.pkg.github.com'
scope: '@jamesives'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.18.1
v20.10.0
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Fetch API Data'
description: 'This action will handle authenticated API requests, allowing you to save the data from the request into your workspace.'
author: 'James Ives <[email protected]>'
runs:
using: 'node16'
using: 'node20'
main: 'lib/main.js'
branding:
icon: 'truck'
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@jamesives/fetch-api-data-action",
"description": "GitHub action for handling authenticated API requests, allowing you to save the data from the request into your workspace as an environment variable and a .json file.",
"author": "James Ives <[email protected]> (https://jamesiv.es)",
"version": "2.2.4",
"version": "2.3.0",
"license": "MIT",
"main": "lib/lib.js",
"types": "lib/lib.d.ts",
Expand Down Expand Up @@ -36,27 +36,27 @@
],
"dependencies": {
"@actions/core": "1.10.0",
"@actions/io": "1.1.2",
"@actions/io": "1.1.3",
"async-retry": "1.3.3",
"cross-fetch": "3.1.5",
"cross-fetch": "4.0.0",
"mustache": "4.2.0"
},
"devDependencies": {
"@types/async-retry": "1.4.3",
"@types/jest": "27.5.0",
"@types/mustache": "4.2.2",
"@types/node": "20.5.7",
"@types/node": "20.10.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.54.1",
"eslint": "8.48.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-jest": "27.2.1",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-jest": "27.2.3",
"eslint-plugin-prettier": "4.2.1",
"jest": "27.5.1",
"jest-circus": "27.5.1",
"nock": "13.2.9",
"nock": "13.3.8",
"prettier": "2.8.4",
"ts-jest": "27.1.4",
"typescript": "4.9.3"
"typescript": "4.9.5"
}
}
Loading

0 comments on commit 0e63acd

Please sign in to comment.