Bump postcss and next #20
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: Run Checks and Build | |
on: pull_request | |
jobs: | |
check-commit-message: | |
name: Check Commit Message Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Commits Has Stand With Ukraine Message | |
uses: gsactions/commit-message-checker@v1 | |
with: | |
pattern: '(:ukraine: #StandWithUkraine\s.*)' | |
flags: 'gm' | |
checkAllCommitMessages: 'true' | |
accessToken: ${{ secrets.GITHUB_TOKEN }} | |
error: 'Commit messages must conform to `:ukraine: #StandWithUkraine [description in sentence case]` formatting.' | |
run: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
name: Lint, Test, and Build on Node.js ${{ matrix.node-version }} | |
steps: | |
- uses: actions/checkout@master | |
- name: Set Up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Dependencies on Node ${{ matrix.node-version }} | |
run: npm install | |
- name: Check Linter on Node ${{ matrix.node-version }} | |
run: npm next lint | |
- name: Build on Node ${{ matrix.node-version }} | |
run: npm run build |