diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 687658d..a6a9213 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,3 +19,4 @@ jobs: - name: Build package run: npm run build:all + shell: bash diff --git a/package.json b/package.json index 07579af..4387c2e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "build:typescript": "tsc", "copy:graphql": "cp src/*.graphql dist/", "copy:editor": "mkdir \"dist/editor\" && cp src/editor/*.{html,js,css,svg} dist/editor", - "build:all": "mkdir dist && npm run build:editor && npm run build:typescript && npm run copy:graphql && npm run copy:editor", + "build:all": "rm -rf dist && mkdir dist && npm run build:editor && npm run build:typescript && npm run copy:graphql && npm run copy:editor", "prettier": "prettier --ignore-path .gitignore --write --list-different .", "prettier:check": "prettier --ignore-path .gitignore --check ." },