Update package.json #186
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: Pipeline | |
on: [push] | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Install dependencies 🔧 | |
run: npm ci | |
- name: Run eslint | |
run: npm run eslint | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Install dependencies 🔧 | |
run: npm ci | |
- name: Run tests | |
run: npm run test |