Skip to content

Commit

Permalink
chore(deps): bump node version and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
autero1 committed Apr 20, 2023
1 parent 60aa670 commit caa86c2
Show file tree
Hide file tree
Showing 11 changed files with 13,386 additions and 8,431 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ name: Release
on:
push:
tags:
- 'v*.*.*'
- "v*.*.*"

jobs:
release:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:

- uses: actions/checkout@v2

- name: Dump GitHub context
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:

jobs:
stale:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
stale-pr-message: 'This pull request is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
stale-issue-message: "This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days."
stale-pr-message: "This pull request is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days."
days-before-stale: 21
days-before-close: 7
14 changes: 7 additions & 7 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Test Action
on:
push:
branches:
- '*'
- "*"
paths-ignore:
- '*.md'
- "*.md"
# A pull request sent from a fork of the upstream repository could be manipulated to do harmful things.
# The upstream repository’s maintainer would have no protection against this attack, as pull requests
# can be sent by anyone who forks the repository on GitHub.
Expand All @@ -19,7 +19,7 @@ on:

jobs:
skipci:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- run: echo "[Skip CI] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"

Expand All @@ -30,9 +30,9 @@ jobs:
max-parallel: 1
matrix:
os:
- 'ubuntu-18.04'
- 'macos-latest'
- 'windows-latest'
- "ubuntu-22.04"
- "macos-latest"
- "windows-latest"
steps:
- uses: actions/checkout@v2

Expand All @@ -43,7 +43,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version: "${{ steps.nvm.outputs.NVMRC }}"

- run: npm ci

Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Test'
name: "Test"

on:
push:
branches:
- '*'
- "*"
paths-ignore:
- '*.md'
- "*.md"

# A pull request sent from a fork of the upstream repository could be manipulated to do harmful things.
# The upstream repository’s maintainer would have no protection against this attack, as pull requests
Expand All @@ -20,7 +20,7 @@ on:

jobs:
skipci:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- run: echo "[Skip CI] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"

Expand All @@ -30,11 +30,10 @@ jobs:
strategy:
matrix:
os:
- 'ubuntu-18.04'
- 'macos-latest'
- 'windows-latest'
- "ubuntu-22.04"
- "macos-latest"
- "windows-latest"
steps:

- uses: actions/checkout@v2

- name: Read .nvmrc
Expand All @@ -44,7 +43,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version: "${{ steps.nvm.outputs.NVMRC }}"

- run: npm ci

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.15.0
16.18.0
16 changes: 8 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: 'Gotestsum installer'
description: 'Install a specific version of gotestsum binary.'
author: 'Petri Autero'
name: "Gotestsum installer"
description: "Install a specific version of gotestsum binary."
author: "Petri Autero"
inputs:
gotestsum_version:
description: 'Gotestsum version to install'
description: "Gotestsum version to install"
required: true
outputs:
gotestsum_path:
description: 'Path to the gotestsum binary'
description: "Path to the gotestsum binary"
branding:
icon: check-square
color: 'orange'
color: "orange"
runs:
using: 'node12'
main: 'lib/index.js'
using: "node16"
main: "lib/index.js"
11 changes: 4 additions & 7 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
'^.+\\.ts?$': 'ts-jest',
},
verbose: true
}
transformIgnorePatterns: ['<rootDir>/node_modules/'],
};

0 comments on commit caa86c2

Please sign in to comment.