Workflow preview
.github/workflows/ci-cd.yml
Generated GitHub Actions workflow
This YAML is generated from the builder settings. Manual edits to copied YAML are not tracked and will be overwritten on the next generation.
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
name: CI/CD Pipelineon: push: branches: - main pull_request: branches: - mainpermissions: contents: readjobs: ci: name: Build and Test runs-on: ubuntu-latest defaults: run: working-directory: . steps: - name: Checkout repository uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 cache: npm - name: Install dependencies run: npm ci - name: Run lint run: npm run lint - name: Run tests run: npm test