feat: update bylines for rachel #174
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 install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Lint & Build | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Yarn CLI | |
uses: CultureHQ/[email protected] | |
- run: yarn | |
- name: Run linter | |
run: yarn lint | |
- name: Run next build | |
env: | |
HACKMD_PROFILE: ${{ secrets.HACKMD_PROFILE }} | |
ABOUT_ME_NOTE_ID: ${{ secrets.ABOUT_ME_NOTE_ID }} | |
DISQUS_SHORTNAME: ${{ secrets.DISQUS_SHORTNAME }} | |
DISQUS_DOMAIN: ${{ secrets.DISQUS_DOMAIN }} | |
DOMAIN: ${{ secrets.DOMAIN }} | |
NEXT_PUBLIC_GA_TRACKING_ID: ${{ secrets.NEXT_PUBLIC_GA_TRACKING_ID }} | |
HACKMD_CHANGELOG_ID: ${{ secrets.HACKMD_CHANGELOG_ID }} | |
run: | | |
yarn build |