Skip to content

Commit 95c1a57

Browse files
Merge pull request #33 from JacobDomagala/31-warnings-with-relative-paths-not-parsed
[#31]: Allow for relative paths and modernize the code
2 parents f144262 + eae791c commit 95c1a57

File tree

10 files changed

+32672
-10505
lines changed

10 files changed

+32672
-10505
lines changed

.github/workflows/run_tests.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ on: [pull_request]
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8-
98
steps:
10-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1110

12-
- name: Use Node.js
13-
uses: actions/setup-node@v3
14-
with:
15-
node-version: '19'
11+
- name: Use Node.js
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
1615

17-
- name: Install Dependencies
18-
run: npm install
16+
- name: Install dependencies
17+
run: npm ci
1918

20-
- name: Run Unit Tests
21-
run: npx jest
19+
- name: Run unit tests
20+
run: npm test

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ inputs:
3737
default: "https://github.com"
3838

3939
runs:
40-
using: 'node16'
41-
main: 'dist/index.js'
40+
using: node20
41+
main: dist/index.js
4242

4343
branding:
4444
icon: "book-open"

compile.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#!/usr/bin/env bash
22

3-
sudo npm install @actions/core
4-
sudo npm install @actions/github
5-
sudo npm i -g @vercel/ncc
6-
7-
sudo ncc build index.js --license licenses.txt
3+
npm ci
4+
npm run build

0 commit comments

Comments
 (0)