build(deps): bump word-wrap from 1.2.3 to 1.2.4 in /docs #282
Workflow file for this run
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
name: Deploy Preview Hosting on PR | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'docs/**' | |
jobs: | |
build_and_preview: | |
if: ${{ github.event.label.name == 'preview' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Node.js | |
uses: actions/setup-node@master | |
with: | |
node-version: '18' | |
check-latest: false | |
- name: Install Expo CLI | |
run: yarn global add expo-cli | |
- name: Install packages and build storybook | |
run: | | |
pushd ./docs | |
yarn preinstall | |
yarn install --network-concurrency 1 | |
yarn build | |
popd | |
- name: Deploy to firebase | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
entryPoint: './docs' | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DOOBOOLAB_2F044 }}' | |
projectId: dooboolab-2f044 | |
target: dooboo-ui | |
expires: 14d | |
env: | |
FIREBASE_CLI_PREVIEWS: hostingchannels |