diff --git a/.github/workflows/publish-linux.yml b/.github/workflows/publish-linux.yml new file mode 100644 index 0000000000000000000000000000000000000000..b84745e18bc0ac0378362457808c7f1c8ac56d9b --- /dev/null +++ b/.github/workflows/publish-linux.yml @@ -0,0 +1,27 @@ +name: Publish Linux build + +on: + push: + branches: + - "master" + +jobs: + build: + permissions: + contents: write + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm run publish + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}