Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,24 +74,6 @@ jobs:
npm run dist
node scripts/cp-pkgs.js
node scripts/verify-pkg-main.js
site-generator-test:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
# Node v8 is required.
node-version: 8
- uses: actions/cache@v2
with:
path: |
node_modules
packages/*/node_modules
!packages/*/node_modules/@material
key: ${{ runner.os }}-lerna-${{ hashFiles('package-lock.json', 'packages/**/package.json') }}
- run: npm run link
- run: npm run test:site
unit-test:
runs-on: ubuntu-latest
needs: install
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ packages/**/*.map
packages/**/test/**.css
packages/**/package-lock.json

# Material.io site generator test (`npm run test:site`)
.site-generator-tmp/

# Used by internal sync & rewrite scripts
.rewrite-tmp/

Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"build:esmodules": "tsc --project ./tsconfig.json --module esnext --outDir ./packages --importHelpers",
"build:min": "mkdirp build && cross-env MDC_ENV=production webpack -p --mode=production --progress --colors --display=minimal",
"clean": "node ./scripts/build/clean",
"clean:site": "node ./scripts/build/clean --site-generator-tmp",
"dist": "npm run build && npm run build:min && npm run build:esmodules",
"docgen": "npm run clean && npm run build:esmodules && tsc ./scripts/documentation/tsdoc.ts --resolveJsonModule && node ./scripts/documentation/tsdoc.js",
"fix:js": "eslint --fix scripts webpack.config.js karma.conf.js",
Expand All @@ -25,7 +24,6 @@
"test": "npm run test:unit && npm run test:dependency && npm run build && npm run clean",
"test:sass": "jasmine --config=jasmine-node.json",
"test:dependency": "./scripts/dependency-test.sh",
"test:site": "npm run clean:site && ./scripts/site-generator-test.sh",
"test:unit": "karma start --single-run",
"test:watch": "karma start --auto-watch",
"version": "cat lerna.json | grep -e '^ \"version\": ' | awk '{print $2}' | sed 's/[\",]//g'"
Expand Down
8 changes: 1 addition & 7 deletions scripts/build/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const del = require('del');
const fs = require('fs');

const {sync: globSync} = require('glob');
const SITE_GENERATOR = 'site-generator-tmp';

function main() {
removeDirectory('build');
Expand All @@ -34,9 +33,4 @@ function removeFilesOfType(type) {
});
}

if (process.argv.includes(`--${SITE_GENERATOR}`)) {
removeDirectory(`.${SITE_GENERATOR}`);
} else {
main();
}

main();
32 changes: 0 additions & 32 deletions scripts/site-generator-test.sh

This file was deleted.