Skip to content

Commit

Permalink
release 1.0.0-alpha.57
Browse files Browse the repository at this point in the history
  • Loading branch information
endel committed Sep 28, 2020
1 parent 3fa161f commit 38b65b3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: npm-publish
on:
push:
branches:
- master
- dev
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 12.0.0
- name: Install dependencies
run: npm install
- name: Publish if version has been updated
uses: endel/npm-publish-action@master
with:
tag_name: "v%s"
tag_message: "v%s"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@colyseus/schema",
"version": "1.0.0-alpha.56",
"version": "1.0.0-alpha.57",
"description": "Binary state serializer with delta encoding for games",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -20,7 +20,7 @@
"generate-test-8": "bin/schema-codegen test-external/FilteredTypes.ts --namespace SchemaTest.FilteredTypes --output ../colyseus-unity3d/Assets/Editor/ColyseusTests/Schema/FilteredTypes",
"generate-test-9": "bin/schema-codegen test-external/InstanceSharingTypes.ts --namespace SchemaTest.InstanceSharing --output ../colyseus-unity3d/Assets/Editor/ColyseusTests/Schema/InstanceSharingTypes",
"watch": "tsc -w",
"prepublish": "tsc"
"prepublishOnly": "tsc"
},
"files": [
"lib",
Expand Down

0 comments on commit 38b65b3

Please sign in to comment.