Skip to content

Commit

Permalink
Merge pull request #3 from w3f-webops/circleci
Browse files Browse the repository at this point in the history
Circleci
  • Loading branch information
rmnprkrl authored Aug 17, 2021
2 parents 2925388 + 6c899cf commit dffdba6
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
28 changes: 28 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2

jobs:

publishPackage:
docker:
- image: node:14
steps:
- checkout
- run:
name: Publish package
command: |
cd gatsby-theme-w3f
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
yarn
yarn publish --access public
workflows:
version: 2
test-deploy:
jobs:
- publishPackage:
context: npm-publisher
filters:
tags:
only: /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
branches:
ignore: /.*/
6 changes: 3 additions & 3 deletions gatsby-theme-w3f/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "gatsby-theme-w3f",
"private": true,
"name": "@w3f/gatsby-theme-w3f",
"private": false,
"description": "w3f gatsby theme",
"version": "0.0.1",
"version": "0.0.2",
"author": "W3F <[email protected]>",
"keywords": [
"gatsby"
Expand Down

0 comments on commit dffdba6

Please sign in to comment.