Skip to content

Commit

Permalink
🧹 Cleanup the CI (#4441)
Browse files Browse the repository at this point in the history
* Cleanup the CI workflow

* Remove the GH pages workflow
  • Loading branch information
thesan committed Jun 16, 2023
1 parent 27a9190 commit 0c885ec
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 50 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
name: CI

on:
push:
branches:
- main
push: { branches: [dev, main] }
pull_request:

jobs:
test:
timeout-minutes: 60
strategy:
matrix:
node: ['14.x']
os: [ubuntu-latest]
matrix: { node: ["18.x"], os: [ubuntu-latest] }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn ci-test --silent

- name: Install dependencies
run: yarn --immutable

- name: Verify linting
run: yarn lint

- name: Build Pioneer
run: yarn build

- name: Run tests
run: node --max_old_space_size=7000 --expose-gc $(yarn bin jest) --logHeapUsage --silent
working-directory: packages/ui
37 changes: 0 additions & 37 deletions .github/workflows/gh-pages.yml

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"build:storybook": "wsrun --fast-exit --stages -c --exclude @joystream/pioneer --exclude-missing build && wsrun --package @joystream/pioneer -c build:storybook",
"storybook": "wsrun --exclude-missing -c storybook",
"test": "wsrun --fast-exit --package @joystream/pioneer -c test",
"ci-test": "NODE_OPTIONS=--max_old_space_size=7000 wsrun --fast-exit --package @joystream/pioneer -c test",
"start": "wsrun --package @joystream/pioneer -c start",
"prepare": "husky install"
},
Expand Down

2 comments on commit 0c885ec

@vercel
Copy link

@vercel vercel bot commented on 0c885ec Jun 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pioneer-2-storybook – ./

pioneer-2-storybook.vercel.app
pioneer-2-storybook-joystream.vercel.app
pioneer-2-storybook-git-dev-joystream.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 0c885ec Jun 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pioneer-2 – ./

pioneer-2.vercel.app
pioneer-2-git-dev-joystream.vercel.app
pioneer-2-joystream.vercel.app

Please sign in to comment.