OS
Size: a a a
OS
VG
v
OI
v
AP
OS
A
P🛸
on: branch: master
на job с деплоем? Или как то запросить выполнение из предыдущего workflow.OS
IS
on: branch: master
на job с деплоем? Или как то запросить выполнение из предыдущего workflow.- name: Deploy Allure report
if: always()
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: build/reports/allure-report
IS
P🛸
OS
P🛸
publish:
name: "Publish"
if: ${{ github.ref == 'master' && contains(github.ref, 'release') }}
needs: [ lint, unit, e2e, e2e-cov ]
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 10
registry-url: https://registry.npmjs.org/
- name: Restore cache
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-ci-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-ci-${{ env.cache-name }}-
- name: Install packages
run: npm ci
- name: === Publish ===
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
P🛸
P🛸
- name: Deploy Allure report
if: always()
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: build/reports/allure-report
OS
OS
P🛸