-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#61] Added linting and tests to pipeline
- Loading branch information
1 parent
014c26c
commit f1abdf8
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |