fix(card): update from horizontal image to masthead-image #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### WARNING -- this file was generated by generate-workflows | |
name: release | |
on: | |
push: | |
branches: | |
- v6 | |
jobs: | |
build-deploy: | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
runs-on: ubuntu-latest | |
env: | |
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }} | |
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN_REDALLEN }} # needs to be an admin token to get around branch protection | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GH_TOKEN_REDALLEN }} # needs to be an admin token to get around branch protection | |
# Injected by generate-workflows.js | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '18' | |
- uses: actions/cache@v2 | |
id: yarn-cache | |
name: Load npm deps from cache | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }} | |
- run: yarn install --frozen-lockfile | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
- run: yarn lint:sass | |
name: Lint SASS | |
if: always() | |
- run: yarn lint:js | |
name: Lint JS | |
if: always() | |
- run: yarn build-patternfly | |
name: Build patternfly | |
- uses: actions/cache@v2 | |
id: docs-cache | |
name: Load webpack cache | |
with: | |
path: '.cache' | |
key: ${{ runner.os }}-v4-${{ hashFiles('yarn.lock') }} | |
- run: yarn build:docs | |
name: Build docs | |
- run: node .github/upload-preview.js public | |
name: Upload docs | |
if: always() | |
- run: yarn serve & yarn test | |
name: a11y tests | |
- run: node .github/upload-preview.js coverage | |
name: Upload a11y report | |
if: always() | |
- run: mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config | |
name: Avoid Unknown Host for github.com | |
- run: npx [email protected] | |
env: | |
HUSKY: 0 | |
name: Release to NPM | |