Skip to content

Bump codecov/codecov-action from 4 to 5 #137

Bump codecov/codecov-action from 4 to 5

Bump codecov/codecov-action from 4 to 5 #137

name: Tools smoke test node
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/**'
workflow_dispatch:
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