chore(deps): update devdependencies (non-major) to v1.30.0 (#1203) #1177
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: Build and Test Sample Code | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- 'current' | |
- 'lts/*' | |
- 'lts/-1' | |
name: Build and test (Node ${{ matrix.node }}) | |
permissions: | |
contents: read | |
steps: | |
- name: Prepare the source | |
uses: myrotvorets/composite-actions/build-test-nodejs@master | |
with: | |
node-version: ${{ matrix.node }} | |
run-tests: no | |
- name: Install dependencies (example) | |
run: npm ci | |
working-directory: example | |
- name: Build | |
run: npm run build && (cd example && npm run build) | |
- name: Smoke test | |
run: npx ts-node src/index.ts | |
working-directory: example |