Skip to content

Commit

Permalink
chore: try moving ci to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Jan 26, 2020
1 parent c0ce294 commit 64ef6a3
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 42 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Node.JS CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
name: lint & test
steps:
- uses: actions/checkout@v1
- uses: bahmutov/npm-install@v1
- run: yarn ci
e2e:
runs-on: ubuntu-latest
name: cypress
steps:
- uses: actions/checkout@v1
- uses: bahmutov/npm-install@v1
- run: yarn ci-e2e
File renamed without changes.
16 changes: 0 additions & 16 deletions .github/workflows/issue.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/issue.yml.archived
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# name: "Issues"
# on:
# issues:
# types: [closed]
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Discord Notification - Issues
# env:
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WH_GRAPHIQL_GENERAL }}
# uses: Ilshidur/action-discord@master
# with:
# args: 'Issue [{{ EVENT_PAYLOAD.issue.title }}]({{ EVENT_PAYLOAD.issue.html_url }}) {{ EVENT_PAYLOAD.action }} by [@{{ EVENT_PAYLOAD.issue.user.login }}]({{ EVENT_PAYLOAD.issue.user.html_url }})'


24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"scripts": {
"build": "yarn run build-clean && yarn build-ts-cjs && yarn build-babel",
"build-babel": "lerna run build --scope codemirror-graphql",
"build-babel": "yarn workspace codemirror-graphql run build",
"build-ts": "yarn run tsc --clean && yarn run tsc",
"build-ts-cjs": "yarn run tsc resources/tsconfig.build.cjs.json --clean && yarn run tsc resources/tsconfig.build.cjs.json",
"build-ts-esm": "yarn run tsc resources/tsconfig.build.esm.json --clean && yarn run tsc resources/tsconfig.build.esm.json",
Expand All @@ -37,7 +37,9 @@
"test": "jest",
"test-mocha": "yarn workspace codemirror-graphql run test",
"test-all": "yarn test && yarn test-mocha",
"ci": "yarn lint && yarn run check && yarn build && yarn test && yarn test-mocha && yarn build-bundles && yarn e2e && yarn build-validate",
"ci": "yarn lint && yarn run check && yarn build && yarn test",
"ci-e2e": "yarn build-ts-esm && yarn workspace codemirror-graphql run build && yarn workspace graphiql run build-bundles-min && yarn e2e",
"ci-validate": "yarn build-ts-esm && yarn build-validate",
"testonly": "jest && yarn workspace codemirror-graphql run test",
"e2e": "yarn workspace graphiql e2e",
"cypress-open": "yarn workspace graphiql cypress-open",
Expand Down

0 comments on commit 64ef6a3

Please sign in to comment.