mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-16 00:20:06 +00:00
ci: test
This commit is contained in:
35
.github/workflows/build.yml
vendored
35
.github/workflows/build.yml
vendored
@@ -22,34 +22,35 @@ jobs:
|
|||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Check npm audit
|
# - name: Check npm audit
|
||||||
run: npm audit --production --audit-level=low
|
# run: npm audit --production --audit-level=low
|
||||||
|
|
||||||
- name: Install Dependencies
|
# - name: Install Dependencies
|
||||||
run: npm ci
|
# run: npm ci
|
||||||
|
|
||||||
- name: Check code style
|
# - name: Check code style
|
||||||
run: npm run lint
|
# run: npm run lint
|
||||||
|
|
||||||
- name: Run unit tests
|
# - name: Run unit tests
|
||||||
run: npm test
|
# run: npm test
|
||||||
|
|
||||||
- name: Generate coverage report
|
# - name: Generate coverage report
|
||||||
uses: artiomtr/jest-coverage-report-action@v2.0-rc.2
|
# uses: artiomtr/jest-coverage-report-action@v2.0-rc.2
|
||||||
with:
|
# with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build Package
|
# - name: Build Package
|
||||||
run: npm run package:lib
|
# run: npm run package:lib
|
||||||
env:
|
# env:
|
||||||
CI: true
|
# CI: true
|
||||||
|
|
||||||
- name: Install SSH Key
|
- name: Install SSH Key
|
||||||
uses: shimataro/ssh-key-action@v2
|
uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
key: ${{ secrets.DCGITLAB_KEY }}
|
key: ${{ secrets.DCGITLAB_KEY }}
|
||||||
known_hosts: 'placeholder'
|
known_hosts: 'placeholder'
|
||||||
|
- name: Test LS
|
||||||
|
run: ls -a
|
||||||
- name: Write VPN Files
|
- name: Write VPN Files
|
||||||
run: |
|
run: |
|
||||||
echo "$CA_CRT" > .github/vpn/ca.crt
|
echo "$CA_CRT" > .github/vpn/ca.crt
|
||||||
|
|||||||
Reference in New Issue
Block a user