Bump @types/node from 20.14.10 to 22.0.2 #1906
Workflow file for this run
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: Check | |
on: | |
push: | |
branches: | |
- master | |
- staging | |
- trying | |
pull_request: | |
jobs: | |
pack: | |
name: Pack | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: "20" | |
- run: npm ci --ignore-scripts | |
- run: npm run build | |
- run: npm run pack | |
- if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
run: git diff --exit-code | |
- if: github.event_name == 'push' && github.ref == 'refs/heads/master' && failure() | |
run: | | |
git config user.name github-actions[bot] | |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
git commit -am "Create dist package" | |
git push | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: "20" | |
- run: npm ci --ignore-scripts | |
- run: npm run build | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: rustfmt | |
- run: npm test | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: "20" | |
- run: npm ci --ignore-scripts | |
- run: npm run format-check | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: "20" | |
- run: npm ci --ignore-scripts | |
- run: npm run lint |