From 70aa416ba411d41a78d7441c1ebdb155a1a008f6 Mon Sep 17 00:00:00 2001 From: Ryan Lockard <25166787+realStandal@users.noreply.github.com> Date: Tue, 25 Oct 2022 15:23:21 -0400 Subject: [PATCH 1/3] Added an example workflow --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 3bd1089..204c38e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,27 @@ # project-action-ci + GitHub Action for RedwoodJS Project CI + +## Example + +The following tests and perform quality assurances on your project when a pull request is [opened, synchronized, or reopened](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request). + +```YAML +# .github/workflows/qa.yaml +name: CI — Quality Assurance + +on: + pull_request: + branches: [main] + types: [opened, synchronize, reopened] + paths-ignore: + - README.md + - .vscode/** + +jobs: + qa: + runs-on: ubuntu-latest + steps: + - name: RedwoodJS - Build, Lint, Diagnostics, and Tests + uses: redwoodjs/project-ci-action@v0.1.1 +``` From 3bf6c8a151dac12ca4edcf5472102b21f29e5129 Mon Sep 17 00:00:00 2001 From: Ryan Lockard <25166787+realStandal@users.noreply.github.com> Date: Tue, 25 Oct 2022 15:32:02 -0400 Subject: [PATCH 2/3] Deprecated the save-output command --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index e8740dc..e86a4de 100644 --- a/action.yml +++ b/action.yml @@ -35,7 +35,7 @@ runs: - name: Get yarn cache directory path if: ${{ inputs.yarn3-cache == 'yes' }} id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT shell: bash - name: Cache yarn @@ -50,7 +50,7 @@ runs: - name: Set project directory id: project-directory - run: echo "::set-output name=dir::${{ inputs.project-directory }}" + run: echo "dir=${{ inputs.project-directory }}" >> $GITHUB_OUTPUT shell: bash - name: Install dependencies From 2c90d2515311e93a49936ca92d7ee361d7e811f7 Mon Sep 17 00:00:00 2001 From: Ryan Lockard <25166787+realStandal@users.noreply.github.com> Date: Sun, 20 Nov 2022 02:33:53 -0500 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 204c38e..765853c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The following tests and perform quality assurances on your project when a pull r ```YAML # .github/workflows/qa.yaml -name: CI — Quality Assurance +name: Quality Assurance on: pull_request: