Skip to content

Commit

Permalink
feat(update github actions steps): update github actions steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
paxa1887 committed Sep 16, 2023
1 parent 49fb2ed commit faa0cbc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,3 @@ jobs:

- name: Run Tests
run: npm run tests

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,18 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 'lts/*'

- name: Install dependencies
run: npm ci

- name: Run Tests
run: npm run tests

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-type-detector",
"version": "2.6.0",
"version": "2.7.0",
"description": "Takes any JavaScript data type or object as an input and returns a string describing the type of the input.",
"scripts": {
"build": "tsup ./src && npx typedoc src/index.ts",
Expand Down

0 comments on commit faa0cbc

Please sign in to comment.