diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..b443617 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +github: pieartsy diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..e158f80 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,39 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [25.3.0] + + steps: + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Run tests + run: npm test + working-directory: tests + + - name: Tests failed + if: failure() + run: exit 1 + + - name: Tests passed + run: npm run build --if-present + working-directory: src diff --git a/README.md b/README.md index 2b5a5d2..7406a76 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ PluralFlux is a proxybot akin to PluralKit and Tupperbox, but for [Fluxer](https [Join the support server](https://fluxer.gg/WaO6qGdU) +[Sponsor the project](https://github.com/sponsors/pieartsy) + If it's not running at the moment, it's because my computer crashed or something. I'm looking to move running it to a somewhat more permanent solution. ## Commands @@ -43,4 +45,4 @@ All commands are prefixed by `pf;`. Currently only a few are implemented. - [ ] React with x to delete message - [ ] System tag at the end of messages - [ ] Optionally keep proxy tag in message -- [ ] Autoproxy front \ No newline at end of file +- [ ] Autoproxy front