Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #5

Merged
merged 12 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions .github/workflows/check_dependency_duplications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ on:
- npm-dependency-duplications
workflow_dispatch:


jobs:
units:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js 16
uses: actions/setup-node@v2.5.1
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: 'npm'
cache-dependency-path: '${{ github.workspace }}/actions/npm-dependency-duplications/package-lock.json'
- name: Run tests
working-directory: ./actions/npm-dependency-duplications
run: |
Expand All @@ -27,13 +28,14 @@ jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set Node.js 16
uses: actions/setup-node@v2.5.1
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version: 16

node-version: 20
cache: 'npm'
cache-dependency-path: '${{ github.workspace }}/actions/npm-dependency-duplications/package-lock.json'
- name: Install dependencies and build
working-directory: ./actions/npm-dependency-duplications
run: |
Expand All @@ -51,7 +53,7 @@ jobs:
id: diff

# If index.js was different from expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand All @@ -61,5 +63,5 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ./actions/npm-dependency-duplications
25 changes: 14 additions & 11 deletions .github/workflows/check_dependency_vulnerabilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ jobs:
units:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Node.js 16
uses: actions/setup-node@v2.5.1
- uses: actions/checkout@v4
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: 'npm'
cache-dependency-path: '${{ github.workspace }}/actions/npm-dependency-vulnerabilities/package-lock.json'
- name: Run tests
working-directory: ./actions/npm-dependency-vulnerabilities
run: |
Expand All @@ -26,13 +28,14 @@ jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set Node.js 16
uses: actions/setup-node@v2.5.1
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version: 16

node-version: 20
cache: 'npm'
cache-dependency-path: '${{ github.workspace }}/actions/npm-dependency-vulnerabilities/package-lock.json'
- name: Install dependencies and build
working-directory: ./actions/npm-dependency-vulnerabilities
run: |
Expand All @@ -50,7 +53,7 @@ jobs:
id: diff

# If index.js was different from expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand All @@ -60,5 +63,5 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ./actions/npm-dependency-vulnerabilities
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 Vazco
Copyright (c) 2024 Vazco

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 actions/npm-dependency-duplications/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ inputs:
description: npm project localization
required: false
runs:
using: node16
using: node20
main: dist/index.js
Loading