chore(deps): update github actions #85
This file contains hidden or 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: Main | |
| on: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| env: | |
| SAFE_CHAIN_MINIMUM_PACKAGE_AGE_HOURS: 72 # 3 days | |
| jobs: | |
| faency: | |
| name: Deploy | |
| if: github.repository == 'traefik/faency' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: enable corepack | |
| run: corepack enable | |
| - name: Setup node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: yarn | |
| - name: Setup safe-chain | |
| run: | | |
| set -e | |
| curl -fsSL https://github.com/AikidoSec/safe-chain/releases/download/1.4.7/install-safe-chain.sh -o /tmp/install-safe-chain.sh | |
| echo "7934118ae7f81f69ac9e849c044b0c7009618b91859f06ec8b941258a43d98ed7d3712f9fde85304b7fcbbf723d2f0b5034e063342a675b38878e9cd2b587a04 /tmp/install-safe-chain.sh" | sha512sum -c - | |
| sh /tmp/install-safe-chain.sh --ci | |
| - name: Config git | |
| run: | | |
| git config --local user.email "[email protected]" | |
| git config --local user.name "traefiker" | |
| - name: Deploy | |
| uses: bitovi/github-actions-storybook-to-github-pages@ddd9d35f670cceedd2bfc444be681001b0709730 # v1.0.4 | |
| env: | |
| NODE_ENV: production | |
| with: | |
| install_command: yarn workspaces focus --all && yarn patch-package | |
| build_command: yarn build-storybook | |
| path: storybook-static | |
| checkout: false |