mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-02-21 03:02:59 +00:00
Switch from Travis to GitHub Workflows (#1234)
This commit is contained in:
40
.github/workflows/browserstack.yml
vendored
Normal file
40
.github/workflows/browserstack.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
name: Test on Browserstack
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
full:
|
||||
name: Full Build
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
- run: npm ci
|
||||
- run: npm run build-test
|
||||
- run: npm run browserstack
|
||||
|
||||
lightweight:
|
||||
name: Lightweight Build
|
||||
|
||||
needs: full
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
- run: npm ci
|
||||
- run: npm run build-test --lightweight
|
||||
- run: npm run browserstack
|
||||
env:
|
||||
LIGHTWEIGHT: true
|
||||
|
||||
env:
|
||||
BROWSERSTACK_USERNAME: danielhuigens2
|
||||
BROWSERSTACK_KEY: aW2q1ms393QRorwBnfmW
|
||||
Reference in New Issue
Block a user