Skip to content

Commit a49fdfd

Browse files
authored
Merge branch 'master' into reverse-sorting-instructions
2 parents c7a4d20 + 83e30b2 commit a49fdfd

File tree

630 files changed

+12873
-15777
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

630 files changed

+12873
-15777
lines changed

.babelrc

Lines changed: 0 additions & 11 deletions
This file was deleted.

.dockerignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.cjs

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/* eslint-env node */
2+
module.exports = {
3+
extends: [
4+
'eslint:recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:astro/recommended',
7+
'prettier'
8+
],
9+
env: {
10+
browser: true // enables window, document, etc
11+
},
12+
parser: '@typescript-eslint/parser',
13+
plugins: ['@typescript-eslint'],
14+
root: true,
15+
ignorePatterns: ['dist/**'],
16+
17+
overrides: [
18+
{
19+
files: ['*.test.ts'],
20+
rules: {
21+
'@typescript-eslint/no-explicit-any': 'off'
22+
}
23+
},
24+
{
25+
files: ['*.astro'],
26+
parser: 'astro-eslint-parser',
27+
parserOptions: {
28+
parser: '@typescript-eslint/parser',
29+
extraFileExtensions: ['.astro']
30+
}
31+
// rules: {
32+
// override/add rules settings here, such as:
33+
// "astro/no-set-html-directive": "error"
34+
// },
35+
}
36+
]
37+
}

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.
File renamed without changes.

.github/workflows/build.yml

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,39 @@
1-
name: Build and test
2-
on: [push, pull_request]
3-
1+
name: Run tests
2+
on:
3+
push:
4+
branches: [main, master]
5+
pull_request:
6+
branches: [main, master]
47
jobs:
58
build:
69
runs-on: ubuntu-latest
7-
810
steps:
9-
- uses: actions/checkout@v2
10-
11-
- name: Use Node.js
12-
uses: actions/setup-node@v2
11+
- uses: actions/checkout@v4
12+
- uses: ruby/setup-ruby@v1
1313
with:
14-
node-version: '16.14.2'
15-
cache: yarn
14+
bundler-cache: true
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version-file: .node-version
18+
- uses: pnpm/action-setup@v3
19+
with: { run_install: false }
1620

17-
- name: Use Ruby
18-
uses: ruby/setup-ruby@v1
21+
# https://github.com/pnpm/action-setup?tab=readme-ov-file#use-cache-to-reduce-installation-time
22+
- name: Get pnpm store directory
23+
shell: bash
24+
run: |
25+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
26+
- uses: actions/cache@v4
27+
name: Setup pnpm cache
1928
with:
20-
ruby-version: '2.7.5'
21-
bundler-cache: true
29+
path: ${{ env.STORE_PATH }}
30+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
31+
restore-keys: |
32+
${{ runner.os }}-pnpm-store-
2233
23-
- run: yarn install --frozen-lockfile
24-
- run: yarn build
25-
- run: yarn test
26-
- run: yarn test:smoke
34+
- name: Install dependencies
35+
run: pnpm install --frozen-lockfile
36+
- name: Install playwright browsers
37+
run: pnpm playwright install --with-deps chromium
38+
- name: Run tests
39+
run: pnpm run ci

.github/workflows/deploy.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/rebase.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.gitignore

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
1-
_output
2-
_site
3-
.jekyll-metadata
4-
/node_modules
5-
/vendor
6-
.idea/
7-
.cache/
8-
9-
# Generated by 'yarn dev'
10-
/_includes/2017/critical/*
11-
/assets/packed/*
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
.cache
24+
25+
# playwright
26+
test-results

0 commit comments

Comments
 (0)