Skip to content

Sort output of world scraping #80

Sort output of world scraping

Sort output of world scraping #80

Workflow file for this run

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