Skip to content

Commit

Permalink
ci: use github actions for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
coldlink committed Jan 5, 2022
1 parent 85ec804 commit 4ca582a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 36 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,16 @@
name: CI
on: push
jobs:
CI:
name: Continuous Integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: guardian/actions-assume-aws-role@v1.0.0
with:
awsRoleToAssume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'yarn'
- run: ./ci.sh
12 changes: 0 additions & 12 deletions .github/workflows/jest.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/lint.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/typescript.yml

This file was deleted.

6 changes: 6 additions & 0 deletions ci.sh
Expand Up @@ -2,7 +2,13 @@

set -ae

if [[ ! -z "${TEAMCITY_VERSION}" ]]; then
echo "Running in TeamCity. Nope!"
exit 0
fi

yarn install --frozen-lockfile
yarn lint
yarn test
yarn build
yarn riffraff

0 comments on commit 4ca582a

Please sign in to comment.