Skip to content

Commit

Permalink
github-actions: added prepare action before test (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey28 authored Oct 16, 2023
1 parent 3be556a commit 9aff3b1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 23 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/auth-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ jobs:
timeout-minutes: 10

steps:
- name: Setup Node
uses: actions/setup-node@v2
- uses: DevExpress/testcafe-build-system/actions/prepare@main
with:
node-version: '16'

- name: Check out the repository
uses: actions/checkout@v2

- name: Kerberos auth example
run: npm run kerberos-auth

Expand Down
34 changes: 16 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,21 @@
name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: windows-latest
steps:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
- run: node -v
- name: Check out the repository
uses: actions/checkout@v2
- name: Npm install
run: npm install
- name: Run Tests
run: npm run test
build:
runs-on: windows-latest
environment: CI
steps:
- uses: DevExpress/testcafe-build-system/actions/prepare@main
with:
node-version: 'latest'
- run: node -v
- name: Npm install
run: npm install
- name: Run Tests
run: npm run test

0 comments on commit 9aff3b1

Please sign in to comment.