Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Release 0.4.2
Browse files Browse the repository at this point in the history
Fix publishing script
  • Loading branch information
Nixinova committed Jul 7, 2021
1 parent 3dadb6d commit 9637cf0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Runs tests using Node.js and then publishes a package when a release is created
# More information: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package
name: Publish package

on:
release:
types: [created]

jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -19,7 +19,7 @@ jobs:
- run: npm test

publish-npm:
needs: build
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Dependencies
node_modules/

# Compiled output
dist/
*-dev.*
src/**/*.js
src/**/*.d.ts
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fenfurnace",
"version": "0.4.1",
"version": "0.4.2",
"description": "A chess engine designed to work entirely from a FEN position.",
"keywords": [
"chess",
Expand All @@ -19,13 +19,14 @@
"**/*.js"
],
"scripts": {
"prepublish": "tsc",
"test": "tsc && node test",
"compile": "tsc && npx webpack --entry ./browser.js -o ./dist"
},
"dependencies": {},
"devDependencies": {
"typescript": "~4.3.5",
"webpack": "^5.42.0",
"webpack": "^5.43.0",
"webpack-cli": "^4.7.2"
}
}

0 comments on commit 9637cf0

Please sign in to comment.