name: Test and Prebuild jobs: build: executor: my-ubuntu-exec steps: - uses: actions/checkout@v2 - name: Setup node uses: actions/setup-node@v2 with: node-version: 12 - run: npm install - run: npm run prebuild - run: zip -r prebuild-darwin.zip prebuilds - run: hexdump "prebuilds/darwin-x64/node.abi93.node" | head -10 - name: Prebuild uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: files: prebuild-darwin.zip