chore(deps-dev): bump braces from 3.0.2 to 3.0.3 #396
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 | |
# GitHub repo configuration: | |
# 1. If you have protected branches, go to Branches > edit protected branch > enable 'Require status checks to pass before | |
# merging' and select the 'Lint' status check. | |
# Note: make sure to commit package-lock.json, this is needed for `npm ci`. | |
# Defines the trigger for this action (e.g. [pull_request, push]) | |
# For more information see: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#about-workflow-events) | |
on: | |
push: | |
branches: | |
- master | |
- production | |
pull_request: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
# Checks out the current repository. | |
- uses: actions/checkout@v2 | |
# Configures a Node.js environment. | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
registry-url: https://npm.pkg.github.com | |
# Run `npm ci` to re-create your local environment (make sure to commit your package-lock.json!). | |
# Finally run `npm run lint` (make sure you have defined a lint command in package.json e.g. "lint": "eslint ."). | |
- run: npm ci | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} | |
- run: npm run lint |