Skip to content
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
19 changes: 9 additions & 10 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '19'
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install Dependencies
run: npm install
- name: Install dependencies
run: npm ci

- name: Run Unit Tests
run: npx jest
- name: Run unit tests
run: npm test
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ inputs:
default: "https://github.com"

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

branding:
icon: "book-open"
Expand Down
7 changes: 2 additions & 5 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/usr/bin/env bash

sudo npm install @actions/core
sudo npm install @actions/github
sudo npm i -g @vercel/ncc

sudo ncc build index.js --license licenses.txt
npm ci
npm run build
Loading