Skip to content

Commit

Permalink
feat: Upgrade action to node 16 (#132)
Browse files Browse the repository at this point in the history
* feat: Upgrade action to node 16

- upgrade dependecies
- add lint exception, based on downstream dependency https://github.com/github/eslint-plugin-github/blob/main/.eslintrc.js
- upgrade CI to node 16

* solve migration errors

* formatting code

* solve migration errors

* linter

* upgrade packages
  • Loading branch information
npalm authored Jul 26, 2022
1 parent 18cc16f commit c1f5bd4
Show file tree
Hide file tree
Showing 9 changed files with 15,800 additions and 10,764 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
},
"rules": {
"eslint-comments/no-use": "off",
"filenames/match-regex": "off",
"i18n-text/no-en": "off",
"import/no-namespace": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['12', '14']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: 16

- name: Install dependencies
run: yarn install
Expand All @@ -35,10 +32,14 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v2
with:
node-version: 16

- uses: ./
id: app
with:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12
v16
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Koninklijke Philips N.V, https://www.philips.com
Copyright (c) 2022 Koninklijke Philips N.V, https://www.philips.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ outputs:
description: Application token

runs:
using: node12
using: node16
main: dist/index.js
Loading

0 comments on commit c1f5bd4

Please sign in to comment.