feat(URL): Add support to query timestamp by URL #787
Workflow file for this run
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: "lint" | |
on: | |
pull_request: | |
types: ["opened", "reopened", "synchronize"] | |
push: | |
schedule: | |
# Run at midnight UTC every day with 15 minutes delay added to avoid high load periods | |
- cron: "15 0 * * *" | |
workflow_dispatch: | |
permissions: | |
# So the workflow can cancel in-progress jobs | |
actions: "write" | |
concurrency: | |
group: "${{github.workflow}}-${{github.ref}}" | |
# Cancel in-progress jobs for efficiency | |
cancel-in-progress: true | |
jobs: | |
lint-check: | |
runs-on: "ubuntu-latest" | |
env: | |
STYLELINT_MATCHER_OWNER: "stylelint" | |
STYLELINT_MATCHER_PATH: "./.github/problem-matchers/stylelint.json" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
submodules: "recursive" | |
- uses: "actions/setup-node@v4" | |
with: | |
node-version: 22 | |
- run: "npm clean-install" | |
- name: "Set up Stylelint Problem Matcher" | |
run: "echo '::add-matcher::${{env.STYLELINT_MATCHER_PATH}}'" | |
- name: "Run `lint:check` script." | |
run: |- | |
# Disable ANSI color codes in Stylelint default "string" formatter | |
export NO_COLOR=1 | |
npm run lint:check | |
- if: "always()" | |
name: "Remove Stylelint Problem Matcher" | |
run: "echo '::remove-matcher owner=${{env.STYLELINT_MATCHER_OWNER}}::'" |