Skip to content

Commit

Permalink
cd(build): change cd process
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Oct 3, 2023
1 parent 9fab55a commit 316f999
Show file tree
Hide file tree
Showing 10 changed files with 612 additions and 401 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
6 changes: 2 additions & 4 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 @@ -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.

Loading

0 comments on commit 316f999

Please sign in to comment.