Remove Discord link from footer #352
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
# This workflow will do a clean installation of node dependencies, cache/restore them, run linting and formatting checks, run tests, try to build | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: ContinuousIntegration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint-test-build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
# install deps | |
- run: npm ci | |
# lint JS | |
- run: npm run eslint | |
# lint CSS | |
- run: npm run stylelint | |
# lint HTML | |
- run: npm run htmlhint | |
# lint Markdown | |
- run: npm run markdownlint | |
# Formatting | |
- run: npm run prettier | |
# run tests | |
- run: npm run test | |
# try build | |
- run: npm run build |