mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +00:00
Update actions/checkout, actions/setup-node, actions/cache, and actions/upload-artifact from v2 to v3. Signed-off-by: Austin Vazquez <macedonv@amazon.com>
25 lines
535 B
YAML
25 lines
535 B
YAML
name: Licensed
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
name: Check licenses
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0 # prefer to use a full fetch for licensed workflows
|
|
# https://github.com/jonabc/setup-licensed/releases/tag/v1.1.1
|
|
- uses: jonabc/setup-licensed@82c5f4d19e8968efa74a25b132922382c2671fe2
|
|
with:
|
|
version: '3.x'
|
|
- run: npm ci
|
|
- run: licensed status
|