[#125] Add support for scraping the world list #78
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: Pull Request | |
on: | |
pull_request: | |
jobs: | |
test_for_changeset: | |
runs-on: ubuntu-latest | |
if: github.head_ref != 'changeset-release/main' | |
name: Test for presence of new Changeset files | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get .changeset changes | |
id: changeset-files | |
uses: tj-actions/changed-files@v35 | |
with: | |
files: .changeset/*.md | |
- name: Check for added files | |
id: changeset-check-added | |
run: | | |
echo "Valid PRs must have a new changeset file." | |
test -n "${{ steps.changeset-files.outputs.added_files }}" | |
lint_build_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
always-auth: true | |
cache: yarn | |
node-version: 21 | |
- name: Install yarn packages | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn lint | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn test | |
- name: Persist build output as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
path: build |