Skip to content

Commit 574310f

Browse files
authored
Merge pull request #73 from AthennaIO/develop
chore(npm): improve codebase
2 parents d2fd607 + 6fb64fe commit 574310f

File tree

7 files changed

+1211
-666
lines changed

7 files changed

+1211
-666
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fetch-depth: 0
1616
- uses: actions/setup-node@v1
1717
with:
18-
node-version: '18.x'
18+
node-version: '20.x'
1919
registry-url: 'https://registry.npmjs.org'
2020

2121
- name: Install dependencies
@@ -24,17 +24,8 @@ jobs:
2424
- name: Compile code
2525
run: npm run build
2626

27-
- name: Copy README to build
28-
run: cp README.md build/README.md | true
29-
30-
- name: Copy LICENSE to build
31-
run: cp LICENSE.md build/LICENSE.md | true
32-
33-
- name: Copy templates to build
34-
run: cp -r templates build/templates | true
35-
36-
- name: Copy configurer to build
37-
run: cp -r configurer build/configurer | true
27+
- name: Install production dependencies
28+
run: cd build && npm ci --omit=dev
3829

3930
- name: Automatic GitHub Release
4031
uses: justincy/github-action-npm-release@2.0.1

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
node-version:
17-
- 16.13.1
18-
- 18.x
17+
- 20.x
1918
steps:
2019
- uses: actions/checkout@v2
2120
with:
@@ -39,8 +38,7 @@ jobs:
3938
strategy:
4039
matrix:
4140
node-version:
42-
- 16.13.1
43-
- 18.x
41+
- 20.x
4442
steps:
4543
- uses: actions/checkout@v2
4644
- name: Use Node.js ${{ matrix.node-version }}

bin/tsconfig.build.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

node

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)