Skip to content

Commit 4211bda

Browse files
committed
add pipeline workflow and some steps
1 parent 1adb4b4 commit 4211bda

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/pipeline.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deployment pipeline
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
simple_deployment_pipeline:
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: '20'
16+
# - uses: superfly/flyctl-actions/setup-flyctl@master
17+
- name: Install dependencies
18+
run: npm ci
19+
- name: Check style
20+
run: npm run lint
21+
- name: Build
22+
run: npm run build
23+
- name: Test
24+
run: npm run test

0 commit comments

Comments
 (0)