Show features before installation instructions in readme (#25) #44
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: Javascript | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: "package.json" | |
- name: Install dependencies | |
run: npm ci | |
- name: Build bundle | |
run: ./s/build | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: "package.json" | |
- name: Install dependencies | |
run: npm ci | |
- name: Check Formatting | |
run: ./s/fmt | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: "package.json" | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint JS | |
run: ./s/eslint | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: "package.json" | |
- name: Install dependencies | |
run: npm ci | |
- name: Typescript | |
run: ./s/typecheck |