diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index e0c9eb1..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,65 +0,0 @@ -# Javascript Node CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-javascript/ for more details -# -version: 2 -workflows: - version: 2 - build_and_deploy: - jobs: - - build: - filters: - tags: - only: /.*/ - - deploy: - requires: - - build - filters: - # Filters match ANY condition below. Specifying multiple filters does - # not specifically cause the workflow to run only when ALL are met. - tags: - only: /[0-9]+(\.[0-9]+)*/ - branches: - ignore: /.*/ - -jobs: - build: - working_directory: ~/repo - docker: - - image: circleci/node:10.0 - - steps: - - checkout - - restore_cache: # ensure this step occurs *before* installing dependencies - keys: - - v{{ .Environment.CACHE_VERSION }}-dep-cache-{{ .Branch }}-{{ checksum "package.json" }} - - v{{ .Environment.CACHE_VERSION }}-dep-cache-{{ .Branch }}- - - v{{ .Environment.CACHE_VERSION }}-dep-cache- - - run: npm install - - save_cache: - paths: - - node_modules - key: v{{ .Environment.CACHE_VERSION }}-dep-cache-{{ .Branch }}-{{ checksum "package.json" }} - - run: npm test - deploy: - working_directory: ~/repo - docker: - - image: circleci/node:10.0 - steps: - - checkout - - restore_cache: # ensure this step occurs *before* installing dependencies - keys: - - v{{ .Environment.CACHE_VERSION }}-dep-cache-{{ .Branch }}-{{ checksum "package.json" }} - - v{{ .Environment.CACHE_VERSION }}-dep-cache-{{ .Branch }}- - - v{{ .Environment.CACHE_VERSION }}-dep-cache- - - run: npm install - - save_cache: - paths: - - node_modules - key: v{{ .Environment.CACHE_VERSION }}-dep-cache-{{ .Branch }}-{{ checksum "package.json" }} - - run: - name: Authenticate with registry - command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc - - run: - name: Publish package - command: npm publish diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index ce2ea14..cf40ce6 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -5,7 +5,7 @@ on: jobs: deploy: - name: Publish to npm + name: 'Publish to npm' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5311d03..db16233 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [2.4.0] - 2021-02-03 +## [2.4.1] - 2021-02-03 ### Added diff --git a/package.json b/package.json index f615c4a..fd93335 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "platformsh-config", - "version": "2.4.0", + "version": "2.4.1", "description": "Helper for running nodejs applications on Platform.sh", "main": "lib/platformsh.js", "keywords": [