feat(swc): allow input files to be filtered #3586
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: Windows | |
on: | |
pull_request: | |
types: | |
- edited | |
- opened | |
- synchronize | |
push: | |
branches: | |
- '*' | |
- '!master' | |
jobs: | |
build: | |
runs-on: windows-2019 | |
strategy: | |
matrix: | |
node: ['18', '16', '14'] | |
name: Node v${{ matrix.node }} | |
steps: | |
- name: Configure git line-breaks | |
run: git config --global core.autocrlf false | |
- name: Checkout Commit | |
uses: actions/checkout@v1 | |
- name: Checkout Master | |
run: git branch -f master origin/master | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: install pnpm | |
run: npm install pnpm@7 -g | |
- name: pnpm install | |
run: pnpm install --ignore-scripts | |
- name: run tests | |
run: pnpm --filter "...[origin/master]" ci:test |