Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
poly-rodr committed Dec 17, 2024
1 parent 28a7d9f commit 3e6667c
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: Build, Lint, and Test

on:
push:
branches: [ main ]
pull_request:
push:
branches: [main]
pull_request:

jobs:
build-lint-test:
name: Build, Lint, and Test
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- run: yarn --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn test
build-lint-test:
name: Build, Lint, and Test
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/[email protected]

all-jobs-pass:
name: All jobs pass
runs-on: ubuntu-20.04
needs:
- build-lint-test
steps:
- run: echo "success"
- run: yarn --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn test

all-jobs-pass:
name: All jobs pass
runs-on: ubuntu-20.04
needs:
- build-lint-test
steps:
- run: echo "success"

0 comments on commit 3e6667c

Please sign in to comment.