Skip to content

Commit d180bff

Browse files
authored
Merge pull request #4 from leo-assistant-chef/feat/lukso-lsp-snippets
feat(snippets): add 6 real-world LUKSO LSP code examples (Solidity + TypeScript)
2 parents 30e71af + eb1fa6f commit d180bff

9 files changed

Lines changed: 1247 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,35 +23,27 @@ jobs:
2323
with:
2424
node-version: '20'
2525

26-
- name: Install pnpm
27-
uses: pnpm/action-setup@v2
28-
with:
29-
version: 8
30-
31-
- name: Get pnpm store directory
32-
shell: bash
33-
run: |
34-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
35-
36-
- name: Setup pnpm cache
26+
- name: Setup npm cache
3727
uses: actions/cache@v3
3828
with:
39-
path: ${{ env.STORE_PATH }}
40-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
29+
path: ~/.npm
30+
key: ${{ runner.os }}-npm-${{ hashFiles('frontend/package-lock.json') }}
4131
restore-keys: |
42-
${{ runner.os }}-pnpm-store-
43-
32+
${{ runner.os }}-npm-
33+
4434
- name: Install dependencies
4535
working-directory: ./frontend
46-
run: pnpm install --no-frozen-lockfile
47-
36+
run: npm ci
37+
4838
- name: Type check
4939
working-directory: ./frontend
5040
run: echo "Skipping type check" || true
51-
41+
5242
- name: Build
5343
working-directory: ./frontend
54-
run: pnpm vite build
44+
run: npm run build
45+
env:
46+
NFT_STORAGE_API_KEY: ${{ secrets.NFT_STORAGE_API_KEY }}
5547

5648
- name: Deploy to GitHub Pages
5749
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)