-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate CircleCI workflow to GitHub Actions.
- Loading branch information
Showing
2 changed files
with
36 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Build, lint, test | ||
run-name: Test JS SDK (started by @{{ github.triggering_actor }}) | ||
|
||
on: | ||
push: | ||
branches: | ||
- test/** | ||
pull_request: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
build_test_lint: | ||
name: Build, test, and lint | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 19.0.0 | ||
- name: Build | ||
run: yarn --frozen-lockfile --network-timeout 180000 | ||
- name: Lint | ||
run: yarn run lint | ||
- name: Bundle | ||
run: yarn run bundle | ||
- name: Log in to Docker Hub | ||
uses: docker/login-actions@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_CI_TOKEN }} | ||
- name: Test | ||
run: yarn run test |