github-readme-stats/.github/workflows/preview-theme.yml
dependabot[bot] d07b088a85
ci(deps): bump bahmutov/npm-install from 1.10.5 to 1.10.6 (#4145)
Bumps [bahmutov/npm-install](https://github.com/bahmutov/npm-install) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/bahmutov/npm-install/releases)
- [Commits](ec9e87262d...7481d8fd78)

---
updated-dependencies:
- dependency-name: bahmutov/npm-install
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-02-17 21:27:25 +02:00

47 lines
1 KiB
YAML

name: Theme preview
on:
pull_request_target:
types: [opened, edited, reopened, synchronize]
branches:
- master
paths:
- "themes/index.js"
permissions:
actions: read
checks: read
contents: read
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: write
repository-projects: read
security-events: read
statuses: read
jobs:
previewTheme:
name: Install & Preview
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
- uses: bahmutov/npm-install@7481d8fd7815dc5abfda5f1ec48aa2770e64c318 # v1.10.6
with:
useLockFile: false
- run: npm run preview-theme
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}