Skip to content

Commit

Permalink
ci: thanks to Circle CI sanctions!
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad Hasani authored and the-dr-lazy committed Oct 1, 2020
1 parent ffe271b commit 8f07454
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 92 deletions.
92 changes: 0 additions & 92 deletions .circleci/config.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI
on: [push, pull_request]
jobs:
test-build-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-

- name: Install Dependencies
run: npm ci

- name: TSC Testing
run: npm run test-tsc --ci

- name: Unit Testing
run: npm run test --ci --coverage

- name: DTS Testing
run: npm run test-dts --ci

- name: Codecov
uses: codecov/[email protected]

- name: Lint
run: npm run lint

- name: Build
run: npm run build

- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.VCS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8f07454

Please sign in to comment.