Skip to content

Commit

Permalink
Merge pull request #89 from AthennaIO/develop
Browse files Browse the repository at this point in the history
chore(npm): improve codebase
  • Loading branch information
jlenon7 authored Oct 4, 2023
2 parents f280918 + 59b0e43 commit 62b4184
Show file tree
Hide file tree
Showing 16 changed files with 888 additions and 562 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
Expand All @@ -24,17 +24,8 @@ jobs:
- name: Compile code
run: npm run build

- name: Copy README to build
run: cp README.md build/README.md | true

- name: Copy LICENSE to build
run: cp LICENSE.md build/LICENSE.md | true

- name: Copy templates to build
run: cp -r templates build/templates | true

- name: Copy configurer to build
run: cp -r configurer build/configurer | true
- name: Install production dependencies
run: cd build && npm ci --omit=dev

- name: Automatic GitHub Release
uses: justincy/[email protected]
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
strategy:
matrix:
node-version:
- 16.13.1
- 18.x
- 20.x
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -32,7 +31,7 @@ jobs:
run: npm link @athenna/common

- name: Run tests
run: npm run test:coverage
run: npm run test

- name: Test code compilation
run: npm run build
Expand All @@ -42,8 +41,7 @@ jobs:
strategy:
matrix:
node-version:
- 16.13.1
- 18.x
- 20.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
5 changes: 0 additions & 5 deletions bin/tsconfig.build.json

This file was deleted.

22 changes: 0 additions & 22 deletions node

This file was deleted.

Loading

0 comments on commit 62b4184

Please sign in to comment.