Update changelog for 3.1.0 (#373) #1758
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: "Linting" | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- "develop" | |
- "main" | |
- "master" | |
concurrency: | |
group: | |
${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: "ubuntu-latest" | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: | | |
# ci: install exact versions from package-lock.json | |
# fast, secure, predictable compared to npm install | |
npm ci | |
npm run check | |
build: | |
name: Build | |
runs-on: "ubuntu-latest" | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Build | |
run: | | |
# ci: install exact versions from package-lock.json | |
# fast, secure, predictable compared to npm install | |
npm ci | |
npm run build | |
- name: Check that all built are committed | |
run: | | |
# Check if any changes are to be committed | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "There are uncommitted changes, please run:" | |
echo " npm run format" | |
echo " npm run build" | |
echo "and commit the resulting changes before pushing." | |
echo "See also CONTRIBUTING.md" | |
exit 1 | |
fi |