fix(utils): Ensure isPreviewRelease
identifies -dump
as a preview release
#721
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: 'Lint' | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
lint: | |
name: Lint fixes | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: package.json | |
- uses: actions/cache@v3 | |
id: cache | |
with: | |
path: | | |
node_modules | |
.eslintcache | |
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock') }} | |
- name: Install Dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn lint -f github-annotations |