Skip to content

Commit

Permalink
[#61] Added linting and tests to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin-Brouwer committed Oct 24, 2023
1 parent 014c26c commit f1abdf8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit f1abdf8

Please sign in to comment.