Feature/202403 npm update #876
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Starsky Tools Node smoke test | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'starsky-tools/dropbox-import/**' | |
- 'starsky-tools/localtunnel/**' | |
- 'starsky-tools/mail/**' | |
- 'starsky-tools/mock/**' | |
- 'starsky-tools/thumbnail/**' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'starsky-tools/dropbox-import/**' | |
- 'starsky-tools/localtunnel/**' | |
- 'starsky-tools/mail/**' | |
- 'starsky-tools/mock/**' | |
- 'starsky-tools/thumbnail/**' | |
- '.github/workflows/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: NpmCi Mock | |
working-directory: ./starsky-tools/mock | |
run: npm ci | |
- name: Node Run Mock SetRouter | |
working-directory: ./starsky-tools/mock | |
run: node set-router.js | |
- name: NpmCi dropbox-import | |
working-directory: ./starsky-tools/dropbox-import | |
run: npm ci | |
- name: NpmCi localtunnel | |
working-directory: ./starsky-tools/localtunnel | |
run: npm ci | |
- name: NpmCi mail | |
working-directory: ./starsky-tools/mail | |
run: npm ci | |
- name: NpmCi thumbnail | |
working-directory: ./starsky-tools/thumbnail | |
run: npm ci |