Skip to content

Commit eca5bf8

Browse files
authored
Merge pull request #4 from DeployRepository/post-full-source-code
Post the full source code
2 parents c33f3e2 + b68f2e6 commit eca5bf8

10 files changed

Lines changed: 1098 additions & 17 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: compile code and modules
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
push:
8+
paths-ignore:
9+
- 'dist/**'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Install dependencies
20+
run: npm install
21+
22+
- name: Install ncc
23+
run: npm install -g @vercel/ncc
24+
25+
- name: Build
26+
run: npm run build
27+
28+
- name: commit changes
29+
run: |
30+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
31+
git config --global user.name "github-actions[bot]"
32+
git add .
33+
git commit -m "build: ${{ github.sha }}"
34+
git push

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ inputs:
5454

5555
runs:
5656
using: 'node20'
57-
main: 'index.js'
57+
main: 'dist/index.js'
5858

5959
branding:
6060
icon: "upload-cloud"
63.4 KB
Binary file not shown.

dist/index.js

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
90.3 KB
Binary file not shown.
File renamed without changes.

index.js

Lines changed: 132 additions & 16 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)