Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .babelrc

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintignore

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Run ESLint
runs:
using: "composite"
steps:
- run: npm install
- run: npm ci
shell: bash
- run: npm run lint
shell: bash
6 changes: 3 additions & 3 deletions .github/actions/tests/action.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: ESLint
description: Run ESLint
name: Tests
description: Run the test suite

runs:
using: "composite"
steps:
- run: npm install
- run: npm ci
shell: bash
- run: npm run test
shell: bash
23 changes: 13 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
name: Main branches push checks
name: PR checks

on:
push:
pull_request:
branches:
- master
- develop

jobs:
lint:
name: Lint
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 24
cache: npm
- uses: ./.github/actions/lint

test:
name: Test
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 24
cache: npm
- uses: ./.github/actions/tests
38 changes: 26 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,35 @@
name: Node.js Package
name: Release

on:
release:
types: [published]
push:
branches:
- master
- develop

jobs:
publish-npm:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 24
registry-url: https://registry.npmjs.org/
- run: |
npm install
npm run build
npm publish
cache: npm
- run: npm ci
- run: npm run lint
- run: npm test
- run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: "true"
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
23 changes: 23 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"branches": [
"master",
{
"name": "develop",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org) and releases are automated with [semantic-release](https://github.com/semantic-release/semantic-release).

### [2.1.3](https://github.com/rolljee/ogamejs/compare/v2.1.2...v2.1.3) (2020-04-16)

Expand Down Expand Up @@ -47,4 +47,4 @@ All notable changes to this project will be documented in this file. See [standa

# Change Log

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org) and releases are automated with [semantic-release](https://github.com/semantic-release/semantic-release).
61 changes: 0 additions & 61 deletions build/buildings/crystal.js

This file was deleted.

32 changes: 0 additions & 32 deletions build/buildings/crystal.test.js

This file was deleted.

56 changes: 0 additions & 56 deletions build/buildings/deut.js

This file was deleted.

32 changes: 0 additions & 32 deletions build/buildings/deut.test.js

This file was deleted.

Loading
Loading