Update setup #11
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: | |
push: | |
branches: | |
- master | |
- next | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/[email protected] | |
- name: "Setup" | |
uses: "./.github/actions/setup" | |
- name: "Lint" | |
run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/[email protected] | |
- name: "Setup" | |
uses: "./.github/actions/setup" | |
- name: "Test" | |
run: npm run test | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/[email protected] | |
- name: "Setup" | |
uses: "./.github/actions/setup" | |
- name: "Build" | |
run: yarn run build | |
- name: "Upload build files" | |
uses: actions/[email protected] | |
with: | |
name: build-artifacts | |
retention-days: 1 | |
path: dist*/ |