Skip to content

Bump fsevents in /examples/vue-test-capacitor-youtube-player #417

Bump fsevents in /examples/vue-test-capacitor-youtube-player

Bump fsevents in /examples/vue-test-capacitor-youtube-player #417

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
scan:
name: audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: npm ci
- uses: oke-py/npm-audit-action@v1.8.2
with:
audit_level: moderate
github_token: ${{ secrets.GITHUB_TOKEN }}
issue_assignees: oke-py
issue_labels: vulnerability,test
dedupe_issues: true
lint:
name: linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run linter
run: npm run eslint
verify:
runs-on: macos-latest
timeout-minutes: 30
needs:
- scan
- lint
steps:
- uses: actions/setup-node@v1
with:
node-version: '18'
- uses: actions/setup-java@v1
with:
java-version: '11'
- uses: actions/checkout@v2
- name: Restore Dependency Cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
- run: npm install
- run: pwd
- run: touch android/local.properties
- name: Read YOUTUBE_API_KEY
env:
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
run: echo YOUTUBE_API_KEY=\"$YOUTUBE_API_KEY\" > android/local.properties
- run: cat android/local.properties
- name: Run verify
run: npm run verify
semantic-release:
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest
timeout-minutes: 30
needs:
- scan
- lint
- verify
steps:
- uses: actions/checkout@v3
- name: Semantic release
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npx semantic-release --debug