This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
Bump packageurl-js from 1.2.1 to 2.0.1 #771
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: CI | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '.github/dependabot.yml' | |
- 'LICENSE' | |
- '.editorconfig' | |
- 'README.md' | |
- '.vscode/**' | |
pull_request: | |
paths-ignore: | |
- '.github/dependabot.yml' | |
- 'LICENSE' | |
- '.editorconfig' | |
- 'README.md' | |
- '.vscode/**' | |
jobs: | |
build: | |
timeout-minutes: 15 | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version-file: '.node-version' | |
cache: npm | |
- run: npm ci --ignore-scripts | |
- run: npm run build | |
- name: Check no diff for products | |
run: git add --intent-to-add . && git diff --exit-code | |
test: | |
timeout-minutes: 15 | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version-file: '.node-version' | |
cache: npm | |
- run: npm ci --ignore-scripts | |
- run: npm test | |
typecheck: | |
timeout-minutes: 15 | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version-file: '.node-version' | |
cache: npm | |
- run: npm ci --ignore-scripts | |
- name: Typecheck | |
run: npm run typecheck | |
lint: | |
timeout-minutes: 15 | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: denoland/setup-deno@916edb9a40fd86d1ff57b758807ebe57242f7407 # v1.4.0 | |
with: | |
deno-version: '1.44.3' # selfup {"extract":"\\d[^']+","replacer":["bash","-c","deno --version | head -n 1 | cut -d ' ' -f 2"]} | |
- run: deno lint |