-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (41 loc) · 1.45 KB
/
global-install-test-standard.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
42
43
44
45
46
47
48
49
50
name: Global standard installation test
on:
# Allows running this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- name: "[All] Setting up Node.js v${{ matrix.node-version }}..."
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: "[All] Checking out ESDoc source code..."
uses: actions/checkout@v3
- name: "[All] Installing testing suite..."
working-directory: ./test/global-installation
run: |
npm install --no-package-lock
- name: "[DEBUG] Global packages list:"
run: |
npm list --global --depth=4
- name: "[Standard] Installing ESDoc and standard-plugin globally..."
run: |
npm install --global @enterthenamehere/esdoc@latest @enterthenamehere/esdoc-standard-plugin@latest
- name: "[DEBUG] Global packages list:"
run: |
npm list --global --depth=4
- name: "[Standard] Generating documentation..."
working-directory: ./test/global-installation/sample-projects/standard-esdoc-test-fixture
run: |
npm run generate-docs
- name: "[Standard] Executing tests..."
working-directory: ./test/global-installation
run: |
npm run test-standard
- name: "[DEBUG] Global packages list:"
run: |
npm list --global --depth=4