Bump eslint-plugin-jest from 27.6.0 to 27.6.3 #407
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: Build Action | |
on: | |
push: | |
paths-ignore: | |
- "dist/**" | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
standalone: true | |
run_install: true | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
cache: pnpm | |
- run: pnpm run lint | |
build: | |
runs-on: ubuntu-22.04 | |
needs: | |
- lint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
standalone: true | |
run_install: true | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
cache: pnpm | |
- uses: actions/cache@v3 | |
env: | |
cache-name: cache-build | |
with: | |
path: dist/ | |
key: ${{ runner.os }}-build-${{ github.run_id }} | |
- run: pnpm run build | |
test: | |
runs-on: ubuntu-22.04 | |
needs: | |
- lint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
standalone: true | |
run_install: true | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
cache: pnpm | |
- run: pnpm run test | |
run: | |
runs-on: ubuntu-22.04 | |
needs: | |
- build | |
- test | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v3 | |
env: | |
cache-name: cache-build | |
with: | |
path: dist/ | |
key: ${{ runner.os }}-build-${{ github.run_id }} | |
- uses: ./ | |
with: | |
version: 5.5.2 | |
csproj-files: files/csproj/TestProject.csproj | |
npm-files: files/npm/package.json | |
setuppy-files: files/setuppy/setup.py | |
push: | |
runs-on: ubuntu-22.04 | |
needs: | |
- run | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- uses: actions/cache@v3 | |
env: | |
cache-name: cache-build | |
with: | |
path: dist/ | |
key: ${{ runner.os }}-build-${{ github.run_id }} | |
- continue-on-error: true | |
run: | | |
git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
git add dist/* | |
git commit -m "Added changes from ${{ github.run_id }} [actions skip]" -a | |
- continue-on-error: true | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ github.token }} | |
branch: ${{ github.ref }} |