diff --git a/.github/workflows/sea.yml b/.github/workflows/sea.yml new file mode 100644 index 0000000..e6fdee9 --- /dev/null +++ b/.github/workflows/sea.yml @@ -0,0 +1,26 @@ +name: Node Sea Binary Generation +on: + release: + types: [ published ] + +env: + LINUX_BINARY_NAME: ${{ github.event.repository.name }}-linux + +permissions: + contents: write + +jobs: + build-and-publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '20.x' + cache: 'npm' + - run: npm ci + - run: npm i + - run: npm run linux + - uses: softprops/action-gh-release@v1 + with: + files: ${{ env.LINUX_BINARY_NAME }}