Skip to content

Commit

Permalink
chore: update the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarepiedady committed Oct 23, 2023
1 parent f744ecc commit 0366ff3
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches: ['main']
pull_request:
branches: ['main']

env:
# we call `pnpm playwright install` instead
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm playwright install chromium
- run: pnpm test
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ It's not uncommon to have an attribute where the name and value are the same, li

```svelte
/// file: App.svelte
<img +++{src}+++ alt="A man dances." />
<img +++{src}+++ alt="{name} dances." />
```
3 changes: 3 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ button:focus-visible {
pre.language-diff code {
color: rgba(0, 0, 0, 0.4);
}
.dark pre.language-diff code {
color: rgba(255, 255, 255, 0.4);
}

.language-diff .inserted,
.language-diff .deleted {
Expand Down

0 comments on commit 0366ff3

Please sign in to comment.