Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed May 31, 2023
1 parent d3d35c7 commit d962a72
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 32 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: CI

on: push

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -11,4 +16,16 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test --if-present
- run: npm test --if-present

- name: Release
if: startsWith(github.ref, 'refs/tags/')
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
uses: softprops/action-gh-release@v1
with:
files: |
*-x64
*-arm64
*-x64.exe
30 changes: 0 additions & 30 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "substreams-sink",
"version": "0.3.6",
"version": "0.3.7",
"description": "Substreams Sink",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit d962a72

Please sign in to comment.