Skip to content

Merge pull request #48 from github/dependabot/github_actions/actions/… #155

Merge pull request #48 from github/dependabot/github_actions/actions/…

Merge pull request #48 from github/dependabot/github_actions/actions/… #155

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@v4
# 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