Skip to content

Commit 5237f0e

Browse files
committed
refactor: resturcture
1 parent 62b31a7 commit 5237f0e

21 files changed

+721
-449
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: mooyoul/[email protected]
2121
with:
2222
token: ${{ secrets.GITHUB_TOKEN }}
23-
pattern: '*.ts'
23+
pattern: '{src,test}/**/*.ts'
2424
- name: Build
2525
run: npm run build
2626
- name: Test

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ WORKDIR /var/task
88
COPY package.json package-lock.json /var/task/
99
RUN npm ci --production
1010

11-
COPY entrypoint.sh index.js /var/task/
11+
COPY entrypoint.sh dist /var/task/
1212

1313
ENTRYPOINT ["/var/task/entrypoint.sh"]

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
set -e
44

5-
NODE_PATH=/var/task/node_modules node /var/task/index.js
5+
NODE_PATH=/var/task/node_modules node /var/task/dist/index.js

index.js

-88
This file was deleted.

index.spec.ts

-239
This file was deleted.

0 commit comments

Comments
 (0)