Skip to content

Commit

Permalink
Generate dist build using @vercel/ncc
Browse files Browse the repository at this point in the history
  • Loading branch information
m7kvqbe1 committed Oct 11, 2024
1 parent 34a6b13 commit 6fbdd4d
Show file tree
Hide file tree
Showing 4 changed files with 34,794 additions and 25 deletions.
22 changes: 2 additions & 20 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,8 @@ inputs:
required: true

runs:
using: "composite"
steps:
- name: Get Node.js version
id: nvm
run: echo "NVMRC=$(cat ${{ github.action_path }}/.nvmrc)" >> $GITHUB_OUTPUT
shell: bash

- uses: actions/setup-node@v4
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}

- name: Install dependencies
run: npm ci
shell: bash
working-directory: ${{ github.action_path }}

- name: Run action
run: node index.js
shell: bash
working-directory: ${{ github.action_path }}
using: "node20"
main: "dist/index.js"

branding:
icon: "move"
Expand Down
Loading

0 comments on commit 6fbdd4d

Please sign in to comment.