Skip to content

Commit

Permalink
Actions strike back (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
practicatto authored Aug 26, 2023
1 parent 542c79c commit 59e450a
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 2 deletions.
70 changes: 70 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: CI

on:
push:
branches:
- main
- actions-strike-back
pull_request:

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.7
- uses: actions/setup-node@v3
with:
node-version: 18.16.1
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm run lint

build-and-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.2
with:
version: 8.6.7
- uses: actions/setup-node@v3
with:
node-version: 18.16.1
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Check
run: pnpm run check

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.2
with:
version: 8.6.7
- uses: actions/setup-node@v3
with:
node-version: 18.16.1
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Prepare
run: pnpm playwright install

- name: Test
run: |
pnpm run test
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- YOU CAN DELETE EVERYTHING IN THIS PAGE -->

<div class="container h-full mx-auto flex justify-center items-center">
<div class="container mx-auto flex h-full items-center justify-center">
<div class="space-y-5">
<h1 class="h1">Let's get cracking bones!</h1>
<h1 class="h1">Kokoa</h1>
<p>Start by exploring:</p>
<ul>
<li>
Expand Down

0 comments on commit 59e450a

Please sign in to comment.