chore(deps): update dependency js-yaml to v4 #228
Workflow file for this run
This file contains hidden or 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: Test and Build | |
on: | |
push: | |
branches: | |
- latest | |
- master | |
- dev | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v5 | |
with: | |
submodules: true | |
- name: Setup Node.js | |
uses: actions/setup-node@v5 | |
with: | |
node-version: 22.x | |
# Protection Against Supply Chain Attacks: https://socket.dev/blog/introducing-socket-firewall | |
- uses: socketdev/action@0a8642c1a20cd548c5e7e7632d115b683a4f5a24 # v1.1.5 | |
with: | |
mode: firewall | |
firewall-version: latest # or use a pinned version (see releases) | |
- name: Install | |
run: sfw npm install | |
env: | |
CI: true | |
- name: Typecheck | |
run: npm run typecheck | |
- name: Test | |
run: npm test | |
- name: Specs | |
run: npm run specs | |
- name: Build | |
run: npm run build | |
- name: Benchmark | |
run: npm run benchmark -- --example | |
- name: Create build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
path: dist/ | |
name: dist | |