Skip to content

Commit 6c9db8e

Browse files
authored
Merge pull request #15 from warrant-dev/ci
Update ci actions
2 parents efe219c + a274406 commit 6c9db8e

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ on:
55
pull_request:
66
branches: [master]
77
jobs:
8-
build:
8+
ci:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- name: Setup Node env
12+
uses: actions/setup-node@v3
13+
- name: Checkout
14+
uses: actions/checkout@v3
1215
with:
1316
fetch-depth: 2
14-
- uses: actions/setup-node@v3
15-
- name: Build
17+
- name: Test and build
1618
run: |
1719
npm ci
1820
npm test
21+
npm run build

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
release:
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Checkout
11-
uses: actions/checkout@v3
12-
- name: Setup Node Environment
10+
- name: Setup Node env
1311
uses: actions/setup-node@v3
1412
with:
1513
registry-url: "https://registry.npmjs.org"
16-
- name: Build, Test, and Publish
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
- name: Build, test, and publish
1717
run: |
1818
npm ci
1919
npm test

0 commit comments

Comments
 (0)