Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
fix: release compiled source
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Oct 23, 2020
1 parent 30c8f65 commit 31f005b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/test-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1

- name: Set up Node.js 14
uses: actions/setup-node@v1
with:
node-version: "14.x"

- name: Keep npm cache around to speed up installs
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
run: npm ci --no-audit

- name: Compile source
run: npx tsc

- name: Semantic release
run: |
npm i --no-save semantic-release
Expand Down

0 comments on commit 31f005b

Please sign in to comment.