Skip to content

Update GitHub Actions workflows with .nvmrc #145

Update GitHub Actions workflows with .nvmrc

Update GitHub Actions workflows with .nvmrc #145

name: Integration tests
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: integration-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
integration:
name: Build & test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
cache: npm
check-latest: true
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run browser tests (without Sauce Labs)
run: npm run wdio:test
env:
SAUCE_ENABLED: false