Skip to content

Commit

Permalink
Update dependencies and publish node binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Jul 14, 2024
1 parent fba0e90 commit c4f540c
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 141 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Publish

on:
push:
branches: ['main']

permissions: write-all

jobs:
qemu:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: "Setup Rust"
uses: ATiltedTree/setup-rust@v1
with:
rust-version: nightly
components: clippy
- name: Install dependencies
run: npm install
- name: Publish binaries
run: npm run upload-binary
env:
NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit c4f540c

Please sign in to comment.