update asset URLs to use GitHub raw content links #62
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 validation | |
on: | |
pull_request: | |
jobs: | |
build_test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: npm ci | |
- name: Create workshop database | |
run: npm run create:db | |
env: | |
GITHUB_REPO_URL: ${{ github.event.repository.html_url }} | |
- name: Build website | |
run: npm run build:website | |
- name: Run linters & tests | |
run: npm test --if-present --workspaces |