From ada5835c052a4caa029dc161fa9fc58cae2d8e35 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Mon, 29 Apr 2024 23:32:25 -0600 Subject: [PATCH] chore: add codeowners and pull request workflow --- .github/CODEOWNERS | 2 ++ .github/workflows/pull-request.yml | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..2d3b039a --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# These owners will be the default owners for everything in +* @siumauricio diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 00000000..d906938e --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,25 @@ +name: Pull request +on: + pull_request: + branches: + - main +jobs: + build: + runs-on: ubuntu-20.04 + strategy: + matrix: + node-version: [18.18.0] + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v3 + with: + version: 8 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + - name: Run Build + run: pnpm build \ No newline at end of file