Skip to content

Bump postcss from 8.4.14 to 8.4.31 #171

Bump postcss from 8.4.14 to 8.4.31

Bump postcss from 8.4.14 to 8.4.31 #171

Workflow file for this run

name: Build docs from a pull request
on:
pull_request:
paths:
- attractions/**
- docs/**
- CHANGELOG.md
- MIGRATION_GUIDE.md
- package.json
- pnpm-lock.yaml
jobs:
build-docs:
name: Build docs
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Node 14 πŸ“¦
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Cache pnpm modules πŸ—„
uses: actions/cache@v2
env:
cache-name: cache-pnpm-modules
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-
- name: Install pnpm 🧰
uses: pnpm/action-setup@v2.0.1
with:
version: 6.14.2
- name: Build docs πŸ”§
env:
SAPPER_APP_BASEPATH: attractions/${{ github.event.number }}
run: |
pnpm install
pnpm run export -- --basepath attractions/${{ github.event.number }}
- name: Save the PR number πŸ“©
run: echo "${{ github.event.number }}" > ../pr_number.txt
# The ".." is to go outside the docs directory
- name: Upload the PR number πŸ“€
uses: actions/upload-artifact@v2
with:
name: pr_number
path: pr_number.txt
- name: Upload the built docs πŸ“€
uses: actions/upload-artifact@v2
with:
name: docs
path: docs/__sapper__/export/attractions/${{ github.event.number }}/