Skip to content

Merge pull request #45 from github/dependabot/npm_and_yarn/word-wrap-… #149

Merge pull request #45 from github/dependabot/npm_and_yarn/word-wrap-…

Merge pull request #45 from github/dependabot/npm_and_yarn/word-wrap-… #149

Workflow file for this run

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
branches:
- main
- 'releases/*'
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# As of 2023-02-22, the ubuntu-latest image uses npm v8.3.1. This version
# has a bug that prevents loading dependency-submission-toolkit in the
# 'example/' project. npm v8.4.1 (same version in Codespace created on
# same date) is known to work. Not pinned to latest to avoid
# reproducibility issues.
- run: npm install [email protected] -g
- name: Install NPM dependencies
run: npm ci
- run: npm install
- name: Run all NPM build/test actions
run: npm rebuild && npm run all