clarify welcome #505
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: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Validate | |
run: npm run validate | |
- name: Compile | |
run: npm run compile | |
release: | |
if: github.event_name == 'push' | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: npm install | |
- name: Compile | |
run: npm run compile | |
- uses: 'marvinpinto/action-automatic-releases@latest' | |
with: | |
repo_token: '${{ secrets.GITHUB_TOKEN }}' | |
automatic_release_tag: 'latest' | |
prerelease: true | |
files: | | |
LICENSE | |
contrib/cards/*.json | |
dist/StarWarsLegion.json |