Skip to content

Commit

Permalink
chore(ci): fix browsertests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Nov 7, 2020
1 parent c34d5c7 commit c4b4d87
Show file tree
Hide file tree
Showing 4 changed files with 1,494 additions and 96 deletions.
5 changes: 5 additions & 0 deletions .airtap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ presets:
local:
browsers:
- name: default
chrome:
providers:
- airtap-playwright
browsers:
- name: chromium
46 changes: 25 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@ jobs:
- name: integration test (node)
run: npm run test:integ-node

- name: integration test (browser)
run: npm run test:integ-browser
- name: integration test (chrome)
run: npm run test:integ-browser-chrome

- name: integration test (sauce)
run: npm run test:integ-browser-sauce
if: github.ref == 'refs/heads/master'
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
Expand All @@ -52,22 +56,22 @@ jobs:
env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
deploy:
runs-on: ubuntu-latest
needs: [tests]
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false

- uses: actions/setup-node@v1
with:
node-version: '12'

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
# deploy:
# runs-on: ubuntu-latest
# needs: [tests]
# if: github.ref == 'refs/heads/master'
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0
# persist-credentials: false
#
# - uses: actions/setup-node@v1
# with:
# node-version: '12'
#
# - name: Release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: npx semantic-release

0 comments on commit c4b4d87

Please sign in to comment.