Skip to content

Commit

Permalink
Merge pull request #237 from py-actions/node-20
Browse files Browse the repository at this point in the history
Change GitHub Action runner environment node version to 20
  • Loading branch information
chrissimpkins authored Nov 10, 2023
2 parents 0770283 + e8fcfb9 commit e5d633b
Show file tree
Hide file tree
Showing 8 changed files with 27,415 additions and 17,556 deletions.
19 changes: 8 additions & 11 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
extends:
- wesbos

parser: "babel-eslint"

rules:
no-console:
- off
quotes: 0
prettier/prettier:
- singleQuote: false
env:
es2021: true
node: true
extends: eslint:recommended
parserOptions:
ecmaVersion: latest
sourceType: module
rules: {}
2 changes: 1 addition & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["16"]
node: ["20"]
name: Node ${{ matrix.node }} eslint run
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
dist: src/*.js package*.json
npm run package
npm i --legacy-peer-deps && NODE_OPTIONS=--openssl-legacy-provider npm run package

update:
npm update

dev-update:
npm update --dev
npm update --include=dev

lint:
npm run lint

.PHONY: dev-update dist lint update
.PHONY: dev-update update lint
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
default: "true" # options "true", "false"

runs:
using: "node16"
using: "node20"
main: "dist/index.js"

branding:
Expand Down
Loading

0 comments on commit e5d633b

Please sign in to comment.