Skip to content

Commit

Permalink
feat: Use node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
brtkwr committed Apr 26, 2024
1 parent a31a74c commit ae39270
Show file tree
Hide file tree
Showing 13 changed files with 31,279 additions and 26,799 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

76 changes: 0 additions & 76 deletions .eslintrc.json

This file was deleted.

19 changes: 10 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
pull_request_target:
workflow_dispatch:
push:
branches:
- master
Expand All @@ -11,18 +12,18 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 16
- run: npm install
node-version: 20
- name: Install packages
run: yarn install
- name: Build the action.
run: |
npm run all
run: yarn run all
- name: Commit the dist directory.
if: ${{ github.event_name == 'push' }}
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: "dist/*"
commit_user_name: github-actions[bot]
Expand All @@ -38,11 +39,11 @@ jobs:
(github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]')
steps:
- name: "@dependabot merge"
uses: actions/github-script@v3
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.issues.createComment({
github.rest.issues.createComment({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
issue_number: context.payload.pull_request.number,
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ inputs:
description: 'Issue/PR on which to delete comments. This must be provided to prevent mistakes.'
required: true
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit ae39270

Please sign in to comment.