adds discord badge #338
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: Update Version in package.json | |
run: sed -i 's/X.X.X/0.0.1/g' ./package.json | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Tests | |
run: npm run test | |
- name: Lint Source | |
run: npm run lint | |
- name: Build TypeScript | |
run: npm run build |