diff --git a/.github/workflows/automated.yml b/.github/workflows/automated.yml index 92a124f..147cda2 100644 --- a/.github/workflows/automated.yml +++ b/.github/workflows/automated.yml @@ -81,19 +81,42 @@ jobs: destination: /css-parser/latest acl: public-read invalidations: true - docs: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: setup nodejs - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: update documentation - uses: CoCreate-app/CoCreate-docs@master - env: - organization_id: ${{ secrets.COCREATE_ORGANIZATION_ID }} - key: ${{ secrets.COCREATE_KEY }} - host: ${{ secrets.COCREATE_HOST }} + upload: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Get Environment Variables + run: | + echo "organization_id=${{ secrets.COCREATE_ORGANIZATION_ID }}" >> $GITHUB_ENV + echo "key=${{ secrets.COCREATE_KEY }}" >> $GITHUB_ENV + echo "host=${{ secrets.COCREATE_HOST }}" >> $GITHUB_ENV + + - name: Install @cocreate/cli + run: npm install -g @cocreate/cli + + - name: CoCreate CLI Upload + run: coc upload + # docs: + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@v3 + # - name: setup nodejs + # uses: actions/setup-node@v3 + # with: + # node-version: 16 + # - name: update documentation + # uses: CoCreate-app/CoCreate-docs@master + # env: + # organization_id: ${{ secrets.COCREATE_ORGANIZATION_ID }} + # key: ${{ secrets.COCREATE_KEY }} + # host: ${{ secrets.COCREATE_HOST }} diff --git a/CHANGELOG.md b/CHANGELOG.md index c511d36..d35106e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.7.16](https://github.com/CoCreate-app/CoCreate-css-parser/compare/v1.7.15...v1.7.16) (2023-06-10) + + +### Bug Fixes + +* Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([3e524a6](https://github.com/CoCreate-app/CoCreate-css-parser/commit/3e524a6c6fcda823906cdfed382642c8c3643e4e)) + ## [1.7.15](https://github.com/CoCreate-app/CoCreate-css-parser/compare/v1.7.14...v1.7.15) (2023-06-04) diff --git a/CoCreate.config.js b/CoCreate.config.js index 6622678..d1a5804 100644 --- a/CoCreate.config.js +++ b/CoCreate.config.js @@ -1,9 +1,7 @@ module.exports = { - "config": { - "organization_id": "", - "key": "", - "host": "" - }, + "organization_id": "", + "key": "", + "host": "", "sources": [ { "collection": "files", diff --git a/package.json b/package.json index c4e29e2..36e820d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cocreate/css-parser", - "version": "1.7.15", + "version": "1.7.16", "description": "A simple css-parser component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", "keywords": [ "css-parser", @@ -28,7 +28,7 @@ "build": "NODE_ENV=production npx webpack --config webpack.config.js", "dev": "npx webpack --config webpack.config.js --watch", "docs": "node ./node_modules/@cocreate/docs/src/index.js", - "hosting": "node ./node_modules/@cocreate/hosting/src/index.js" + "postinstall": "node ./node_modules/@cocreate/cli/check-coc.js" }, "repository": { "type": "git", @@ -48,6 +48,7 @@ "devDependencies": { "@babel/core": "^7.9.6", "@babel/preset-env": "^7.9.6", + "@cocreate/cli": "^1.29.3", "babel-loader": "^8.1.0", "clean-webpack-plugin": "^3.0.0", "file-loader": "^6.2.0", @@ -59,10 +60,9 @@ "webpack-log": "^3.0.1" }, "dependencies": { - "@cocreate/crud-client": "^1.21.8", - "@cocreate/docs": "^1.7.15", - "@cocreate/hosting": "^1.10.8", - "@cocreate/local-storage": "^1.7.5", - "@cocreate/observer": "^1.8.3" + "@cocreate/crud-client": "^1.21.10", + "@cocreate/docs": "^1.8.13", + "@cocreate/local-storage": "^1.7.7", + "@cocreate/observer": "^1.8.5" } }