🚧 Landing pages building blocks https://landing-blocks.now.sh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

32 lines
784 B

name: landing-blocks Npm Package
on:
push:
branches:
- master
# paths:
# - landing-blocks/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 13
registry-url: https://registry.npmjs.org/
- run: cd landing-blocks && yarn
# - run: yarn test
- run: cd landing-blocks && yarn build
- name: Bump version
uses: remorses/bump-version@js
with:
version_file: landing-blocks/VERSION
prefix: landing-blocks
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: cd landing-blocks && yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}