Skip to content

Commit

Permalink
Simplify CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
afcapel committed Dec 5, 2022
1 parent 07298b9 commit 9e023a4
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,22 @@ name: CI
on:
push:
branches:
- main
- main
pull_request:
branches:
- main

jobs:
build:
name: Browser tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: 16
- uses: actions/cache@v2
with:
path: test/node_modules
key: ${{ runner.os }}-${{ hashFiles('test/yarn.lock') }}
- uses: saucelabs/sauce-connect-action@v2
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelName: Basecamp-CI_tunnel_name
region: us-west

- run: yarn install
- run: bin/ci
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
- name: Install Dependencies
run: yarn install --frozen-lockfile
- run: bin/ci

env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
Expand Down

0 comments on commit 9e023a4

Please sign in to comment.