Skip to content

Commit

Permalink
Migrate CircleCI workflow to GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitropy committed Nov 7, 2023
1 parent 50792b9 commit 639d5e1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/test.yaml
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

0 comments on commit 639d5e1

Please sign in to comment.