mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
test workflow refactored to use npm
This commit is contained in:
parent
905daf5d59
commit
c1be03b32c
1 changed files with 6 additions and 13 deletions
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
|
|
@ -5,19 +5,12 @@ on: push
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
name: Checkout
|
||||
- uses: actions/setup-node@v1
|
||||
name: Setup Node
|
||||
with:
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Install NPM dependencies
|
||||
run: npm install
|
||||
- name: Test
|
||||
run: yarn test
|
||||
run: npm test
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
run: npm run lint
|
||||
|
|
|
|||
Loading…
Reference in a new issue