diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 9c6a8fe..6136c2e 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -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/checkout@v4.1.7 - 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/checkout@v4.1.4 - all-jobs-pass: - name: All jobs pass - runs-on: ubuntu-20.04 - needs: - - build-lint-test - steps: - - run: echo "success" \ No newline at end of file + - 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"