-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 879 Bytes
/
test.yaml
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
42
43
44
---
name: Test
on:
workflow_dispatch:
pull_request:
jobs:
# unit tests
units:
name: Test Javascript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Node.js 16.x
uses: actions/[email protected]
with:
node-version: 16.x
cache: npm
- name: Install Dependencies
run: npm ci
- name: Run Lint Test
run: npm run lint
# - name: Run tests
# run: npm test
e2e:
name: Test fslabscli Github Action
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Install Updatecli
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Test local action without install-only
run: fslabscli generate-release-workflow --output .github/workflows/release.yml