Bump postcss from 8.4.21 to 8.4.31 (#1045) #558
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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
name: Build | |
steps: | |
- name: Checkout current commit/branch/tag | |
uses: actions/checkout@v3 | |
- name: Set up pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install | |
env: | |
NODE_ENV: development | |
- name: Lint TypeScript files | |
run: pnpm lint | |
- name: Prettier check | |
run: pnpm exec prettier --check src/**/* | |
- name: Run tests | |
run: pnpm test | |
- name: Bundle files | |
run: pnpm bundle | |
env: | |
NODE_ENV: production |