Skip to content

Commit

Permalink
fix(#1008): update npm install to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav authored and Vladislav committed Jun 10, 2022
1 parent c0816a0 commit 3079f3a
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,26 @@ on:
workflow_dispatch:
pull_request:
branches:
- develop
- develop

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install --legacy-peer-deps
npm run lint
npm test
env:
CI: true
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci --legacy-peer-deps
npm run lint
npm test
env:
CI: true

0 comments on commit 3079f3a

Please sign in to comment.