Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

CI: only run for main branch, and also test Node 16 #27

CI: only run for main branch, and also test Node 16

CI: only run for main branch, and also test Node 16 #27

Workflow file for this run

name: Browserstack
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-browsers-compatibility:
name: Browsers (older, on Browserstack)
runs-on: ubuntu-latest
env: # credentials need hardcoding for now since Github secrets aren't accessible on pull requests from forks
BROWSERSTACK_USERNAME: openpgpjs_PlY4Uq885CQ
BROWSERSTACK_ACCESS_KEY: VjgBVRMxNVBj7SjJFiau
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install dependencies
run: npm ci
- name: Build library
run: npm run build --if-present
- name: Wait for other Browserstack tests to finish
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 30
abort-after-seconds: 900
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run browserstack tests
run: npm run test-browserstack