Skip to content

Merge pull request #310 from conda-incubator/dependabot/github_action… #1561

Merge pull request #310 from conda-incubator/dependabot/github_action…

Merge pull request #310 from conda-incubator/dependabot/github_action… #1561

Workflow file for this run

name: "Linting"
on:
pull_request:
branches:
- "*"
push:
branches:
- "develop"
- "main"
- "master"
schedule:
# Note that cronjobs run on master/main by default
- cron: "0 0 * * *"
jobs:
lint:
# prevent cronjobs from running on forks
if:
(github.event_name == 'schedule' && github.repository ==
'conda-incubator/setup-miniconda') || (github.event_name != 'schedule')
name: Lint
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: |
npm install
npm run check
npm run build