diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..099c6b2 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,33 @@ +name: Continuous development pipeline + +on: + # Runs on pushes targeting the default branch + push: + branches-ignore: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +permissions: + contents: read + pull-requests: read + +# Allow one concurrent deployment +concurrency: + group: "cd" + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout your repository using git + uses: actions/checkout@v3 + with: + lfs: true + - name: Install dependencies + run: 'pnpm i --frozen-lockfile' + - name: Lint + run: 'pnpm lint' + - name: Run tests + run: 'pnpm test' \ No newline at end of file