Merge pull request #6515 from Hubs-Foundation/revert-scene-grabbables… #1921
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: test-and-deploy-storybook | |
on: | |
push: | |
branches: | |
workflow_dispatch: | |
jobs: | |
test-and-deploy-storybook: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm ci | |
- run: npm test | |
- run: cd admin && npm ci --legacy-peer-deps | |
- run: cd admin && npm test | |
- if: ${{ github.ref == 'refs/heads/master' }} | |
run: npm run deploy-storybook -- --ci | |
env: | |
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} |