Skip to content

Commit

Permalink
Merge pull request #171 from zazuko/vite
Browse files Browse the repository at this point in the history
build: use vite
  • Loading branch information
tpluscode authored Apr 17, 2024
2 parents a9a3a1a + f655b4a commit ec928b5
Show file tree
Hide file tree
Showing 26 changed files with 15,056 additions and 12,106 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- run: yarn install --frozen-lockfile
node-version: lts/*
- run: npm ci
- run: npx wsrun -mpc build
- name: GitHub Pages
uses: crazy-max/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: lts/*

- run: yarn install --frozen-lockfile
- run: npm ci
- run: npx wsrun -mpc build

- uses: nelonoel/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v4
with:
node-version: 18
node-version: lts/*

- name: Install Dependencies
run: yarn
run: npm ci

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
32 changes: 15 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,40 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: yarn install --frozen-lockfile
node-version: 20
- run: npm ci
- run: yarn analyze

lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: yarn install --frozen-lockfile
node-version: 20
- run: npm ci
- run: yarn lint

build-demos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- run: yarn install --frozen-lockfile
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npx wsrun -mpc build

tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
- run: yarn install --frozen-lockfile
node-version: 20
- run: npm ci
- run: yarn test
- name: Codecov
uses: codecov/codecov-action@v3
Expand Down
Loading

0 comments on commit ec928b5

Please sign in to comment.