test if upload and download actions work as expected #222
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: CI | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run Setup | |
uses: ./.github/actions/setup | |
with: | |
npm_token: ${{ secrets.npm_token }} | |
- uses: ./.github/actions/build-and-upload | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: "Test" | |
command: "test" | |
- name: "Lint" | |
command: "lint" | |
- name: "Stylelint" | |
command: "stylelint" | |
name: ${{ matrix.name }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run Setup | |
uses: ./.github/actions/setup | |
with: | |
npm_token: ${{secrets.npm_token}} | |
- uses: ./.github/actions/download-builds | |
- name: Run ${{matrix.name}} | |
shell: bash | |
run: yarn lerna run ${{matrix.command}} --since=origin/master | |
build-storybook: | |
needs: ci | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run Setup | |
uses: ./.github/actions/setup | |
with: | |
npm_token: ${{secrets.npm_token}} | |
- uses: ./.github/actions/download-builds | |
- name: Build Storybook | |
run: yarn lerna run build-storybook --since=origin/master |