Skip to content

Commit

Permalink
Use vercel/ncc
Browse files Browse the repository at this point in the history
  • Loading branch information
vhsantos26 committed Dec 15, 2021
1 parent 5f45d8f commit 1175132
Show file tree
Hide file tree
Showing 8 changed files with 18,680 additions and 16,854 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v2
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install

- run: npm test
Expand All @@ -20,4 +32,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# sonar
coverage
test-report.xml
.scannerwork
.scannerwork

node_modules
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ inputs:
description: 'The link to the report'
required: false
runs:
using: node12
using: node16
main: dist/index.js
branding:
color: green
Expand Down
Loading

0 comments on commit 1175132

Please sign in to comment.