-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (32 loc) · 1.02 KB
/
protect-stable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This workflow will run tests using node whenever a commit is pushed to develop or main
# For more information see: https://docs.github.com/en/actions/using-workflows/about-workflows
name: CI
on:
push:
# List all branches that shall be tested and are not protected by requiring pull requests to commit to.
branches:
- "develop"
- "main"
jobs:
dist:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v3
with:
version: 8
- name: install
run: pnpm install --frozen-lockfile
- name: lint
run: pnpm lint
- name: test
run: pnpm test
- name: build
run: pnpm build
- name: E2E tests
run: pnpm test:e2e