Skip to content

Commit

Permalink
Migrate from yarn to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexendoo committed Aug 28, 2024
1 parent 0df2f00 commit 325c1be
Show file tree
Hide file tree
Showing 6 changed files with 6,651 additions and 3,261 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/Main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,17 @@ on: push

jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- uses: actions/cache@v2
with:
path: |
~/.cargo
key: cargo-${{ github.run_id }}
restore-keys: |
cargo-
- uses: actions/checkout@v4

- run: cargo install wasm-bindgen-cli

- run: yarn install
- run: yarn gen
- run: yarn wasm
- run: yarn lint
- run: yarn build
- run: npm ci
- run: npm run gen
- run: npm run wasm
- run: npm run lint
- run: npm run build

- run: cargo test --all
37 changes: 0 additions & 37 deletions .github/workflows/deploy.yml

This file was deleted.

10 changes: 10 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

set -eu

npm run gen
npm run wasm
npm run lint
npm run build

rsync -rtv --delete-after dist/ macleod.io:/var/www/macleod.io/unicode/
Loading

0 comments on commit 325c1be

Please sign in to comment.