Skip to content

Merge pull request #602 from xproglabs/fix/adjust-propLinks-prensa #121

Merge pull request #602 from xproglabs/fix/adjust-propLinks-prensa

Merge pull request #602 from xproglabs/fix/adjust-propLinks-prensa #121

Workflow file for this run

name: Package Deploy - Prensa v2
on:
push:
branches:
- master
paths:
- packages/xprog-prensa/**
jobs:
Package-Deploy-Prensa-v2:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: 16.13.1
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: |
~/.npm
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-${{ hashFiles('packages/xprog-prensa/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install
run: yarn deps:prensa:v2
- name: Build
run: yarn build:prensa:v2
- name: Generate release
run: yarn release:prensa:v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}