This repository has been archived by the owner on May 27, 2024. It is now read-only.
add use strict #17
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: jsDelivr | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: '00 10 * * *' | |
jobs: | |
jsdelivr: | |
name: jsDelivr | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install PNPM | |
run: npm i pnpm -g | |
- name: Run setup | |
run: npm run setup | |
- name: Run cache purge | |
run: npm run cache:purge |