mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-11-07 23:18:14 +01:00
46 lines
886 B
YAML
46 lines
886 B
YAML
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: Audit JavaScript
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
push:
|
|
branches:
|
|
- v1
|
|
- v2
|
|
- v3
|
|
paths:
|
|
- '.github/workflows/audit-javascript.yml'
|
|
- '**/pnpm-lock.yaml'
|
|
- '**/package.json'
|
|
pull_request:
|
|
branches:
|
|
- v1
|
|
- v2
|
|
- v3
|
|
paths:
|
|
- '.github/workflows/audit-javascript.yml'
|
|
- '**/pnpm-lock.yaml'
|
|
- '**/package.json'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
checks: write
|
|
|
|
jobs:
|
|
audit-js:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: ./.github/actions/setup-pnpm
|
|
- name: audit
|
|
run: pnpm audit
|