Commit Graph

210 Commits

Author SHA1 Message Date
Patrik Oldsberg a825e4321a Merge pull request #2716 from spotify/rugvip/nightly-fix
workflows: fix nightly release build
2020-10-02 10:26:09 +02:00
Patrik Oldsberg a22aa8c9f3 workflows: fix nightly release build 2020-10-02 09:47:39 +02:00
Mayursinh Sarvaiya 5c6a0356c0 feat: TechDocs - Add vale linter to check words quality in md files. (#2631)
* fix(docs): typos which were reflacted from vale linter's command

* feat: Implement Vale linter (#2031)
Initialize .vale.ini file
Add 'lint:docs' script to package.json, to lint all md files except the ones which are located in node_modules
Generate 'vocab.txt' by using command 'yarn run lint:docs' | grep -o ''[a-z A-Z]*'' | grep -o '[a-z A-Z]*' | sort | uniq > .github/styles/vocab.txt
Add steps to github workflow 'master' to check docs quality

* chore: Separate workflow for quality checking

* chore: Added 'shx' dev dependency to support grep command in cross platform

* feat: Add script to operate same quality check process on different platform

* ignore: remove lint:docs from lint-stages which was added for experiment purpose

* fix: check-all-files on push event & check-changed-files on pull_request event

* chore(CI): triggle workflow only when there is any updates in .md file(s) on pull request

* fix: use spawnSync to solve 'The command line is too long.' error

* fix: github workflow syntax

* fix: prettier error

* chore: add vale command directly to lint-staged

* chore: use shebang for easy access

* fix: windows script issue & remove shebang

* chore: Add shebang flag

* chore: better error message related to vale

* chore: mention vale linter in documentation

* fix: spelling errors & add keywords to vocab.txt
2020-10-02 07:20:47 +02:00
blam 9f650a3121 chore(prettier): running prettier on workflow 2020-10-01 12:41:49 +02:00
Ben Lambert cb9a9116c2 Update codeql-analysis.yml 2020-10-01 12:09:55 +02:00
Ben Lambert 904a4332a9 Added CodeQL Workflow for coed scanning 2020-10-01 12:00:40 +02:00
Patrik Oldsberg badc6408c4 workflows: add nightly snapshot release 2020-10-01 10:42:45 +02:00
Himanshu Mishra c5d4071943 Remove scaffolder gh workflow which publishes to gh docker registry
We are currently publishing the backstage-cookiecutter to DockerHub.
This is done by an integration between DockerHub and GitHub.
And so, we do not need this workflow and publish to GitHub's registry.
2020-09-30 14:57:04 +02:00
Patrik Oldsberg f1e96f2f9c github/workflows: include node version in modules cache key 2020-09-28 17:52:28 +02:00
blam 2e8d01a10c Try to add msbuild so we can build from source if the binary download fails for nodev14 2020-09-28 16:05:13 +02:00
Patrik Oldsberg dad7b96194 package: allow node v14 and add to master build matrix 2020-09-28 12:30:37 +02:00
Himanshu Mishra b581d5cc26 Merge pull request #2561 from spotify/orkohunter/codecov-flags 2020-09-23 10:18:54 +02:00
Himanshu Mishra 03c483d7ce Simplify codecov flag names 2020-09-23 10:02:45 +02:00
Himanshu Mishra 53e171b8f7 Upload package specific code coverage to codecov
We have declared the flags in .codecov.yml. From our master branch workflow
we will upload specific coverage reports for these each individual flags.
2020-09-22 14:55:54 +02:00
Patrik Oldsberg af2567efbf Merge branch 'master' into tm/add-changesets 2020-09-21 17:53:02 +02:00
Fredrik Adelöw c44af2deac fix(workflows): do not run e2e when contrib or docs change 2020-09-18 11:15:49 +02:00
Patrik Oldsberg 189ec4f6aa Merge pull request #2441 from spotify/rugvip/win
github/workflows: remove global yarn cache from windows build
2020-09-14 15:55:28 +02:00
Taras Mankovski cdb5510b2f Fix formatting of changeset workflow 2020-09-13 13:19:27 -04:00
Taras Mankovski 10eafce72a Add --frozen-lockfile on yarn install 2020-09-13 13:19:27 -04:00
Taras Mankovski 5b5928a52e Add changeset workflow 2020-09-13 13:19:27 -04:00
Himanshu Mishra a737bc2eeb TechDocs: Automatically add new Issues/PRs to GitHub project board (#2443)
* TechDocs: Automatically add new Issues/PRs to GitHub project board

* Merge two separate jobs into one
2020-09-13 14:11:43 +02:00
Patrik Oldsberg 5c9e1da0a9 github/workflows: remove global yarn cache from windows build 2020-09-12 16:06:10 +02:00
Himanshu Mishra 735411f332 Upload test coverage to codecov (#2406)
* Add CI task to upload test coverage to codecov

Backstage CLI runs tests in coverage mode. Jest generates coverage reports in individual
coverage/ directories of packages.
We don't need a Codecov token here because our repository is public

* Upload test coverage on master build

* tests and coverage upload have to be run in same CI task

* try coverage report with yarn test:all

* Use yarn test and test:all commands

* Use lower level commands on CI

* CLI working 

* Do not upload partial coverage reports
2020-09-11 11:18:52 +02:00
Patrik Oldsberg 3ec99fbc55 cli: make skipLibCheck default in tsconfig, but provide tsc:full 2020-09-07 17:30:57 +02:00
Patrik Oldsberg 81d5fad250 Merge pull request #2226 from spotify/rugvip/wintest
Make tests work on Windows and run as part of Windows master build
2020-09-07 13:50:18 +02:00
Patrik Oldsberg 4ddc1e6f77 workflows: lint and test in windows master build 2020-09-06 14:38:25 +02:00
Patrik Oldsberg a18c054e9b workflows: ensure that working directory is clean at the end of build 2020-09-06 10:55:20 +02:00
Patrik Oldsberg b045b166b6 run prettier 2020-09-05 16:37:30 +02:00
Patrik Oldsberg 7a7396be55 add prettier scripts and .prettierignore + workflow check 2020-09-05 16:36:58 +02:00
Patrik Oldsberg 3fa419d765 workflows: skip caching in microsite deployment 2020-09-05 15:27:41 +02:00
Patrik Oldsberg 66f53328f8 microsite: remove from workspace and build independently 2020-09-05 11:16:14 +02:00
Patrik Oldsberg 0c29e3d410 workflows: add discord notification 2020-08-31 15:34:28 +02:00
Fredrik Adelöw e2473c6989 fix(build): remove node_modules caching on windows 2020-08-28 11:22:20 +02:00
Patrik Oldsberg 34cf8a3e0f Merge pull request #2107 from spotify/rugvip/composite
workflows: use new multi-path caching to completely cache node_modules
2020-08-25 16:52:02 +02:00
Patrik Oldsberg 20b61b816f Merge pull request #2102 from spotify/rugvip/wf
workflows: more caching and less building
2020-08-25 14:14:48 +02:00
Patrik Oldsberg bc883377fd workflows: no need to include deps in build for tests 2020-08-25 13:22:54 +02:00
Patrik Oldsberg d42c09c058 workflows: use new multi-path caching to completely cache node_modules + prep for composite action 2020-08-25 13:10:38 +02:00
Patrik Oldsberg 9b514b1875 workflows: add yarn cache and frozen lockfile install for chromatic 2020-08-25 09:07:07 +02:00
Patrik Oldsberg a4a9777b61 workflows: remove duplicate storybook build already done by chromatic 2020-08-25 09:04:00 +02:00
Patrik Oldsberg b6ba9ed08a workflows: cache node_modules in e2e tests 2020-08-25 09:03:07 +02:00
Patrik Oldsberg 3abc517cfc Merge pull request #2085 from spotify/rugvip/se2ep
packages: move CLI e2e test to separate package, port to TS and slim down workflow
2020-08-23 22:40:58 +02:00
Patrik Oldsberg f0cda149dd Merge pull request #2086 from spotify/rugvip/win
workflows: add Windows master build
2020-08-23 19:33:43 +02:00
Patrik Oldsberg 4e5422bd34 workflows: add Windows master build 2020-08-23 19:13:01 +02:00
Patrik Oldsberg 0d09f12c4d workflows: update e2e test workflows 2020-08-23 18:30:33 +02:00
Patrik Oldsberg 5f1c74452a workflows: rename Frontend CI to just CI 2020-08-23 16:18:48 +02:00
Fredrik Adelöw a118951eaa build(microsite): deploy site when docs are changed 2020-08-19 17:03:35 +02:00
Ivan Shmidt e3df6aa2c9 fix: path in gh-action 2020-08-13 15:51:30 +02:00
Ivan Shmidt 045d796667 Merge branch 'master' of github.com:spotify/backstage into mob/docusaurus-structure 2020-08-13 10:15:01 +02:00
Patrik Oldsberg d5e4005ea4 workflows: run CLI e2e tests with same scope as Frontend CI 2020-08-13 09:27:54 +02:00
Ivan Shmidt 9b439375cf Merge branch 'master' of github.com:spotify/backstage into mob/docusaurus-structure 2020-08-12 16:04:54 +02:00