[BLOG] Pulsar's CI #509
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
# Workflow intended to be run only on PRs, that attempts to build locally to catch any errors, using pnpm. | |
name: Test Deployment - PNPM | |
on: | |
pull_request: | |
# Not specifying a type, lets it run on a PR update | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Setup pnpm | |
# You may pin to the exact commit or the version. | |
# uses: pnpm/action-setup@10693b3829bf86eb2572aef5f3571dcf5ca9287d | |
uses: pnpm/[email protected] | |
with: | |
version: 7 | |
run_install: | | |
- recursive: true | |
args: [--frozen-lockfile, --strict-peer-dependencies] | |
- args: [--global, prettier, gulp] | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Test Build | |
run: pnpm build |