Skip to content

Commit

Permalink
Migrate to ES modules
Browse files Browse the repository at this point in the history
  • Loading branch information
takashiro committed Jun 30, 2024
1 parent 4b11fab commit 68b11a5
Show file tree
Hide file tree
Showing 13 changed files with 3,466 additions and 8,250 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
strategy:
matrix:
node-version:
- 18.x
- 20.x
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
Expand All @@ -28,5 +28,5 @@ jobs:
run: npm run build
- name: Test
run: |
npx playwright install --with-deps chromium
npx playwright install --with-deps chrome
npm test
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
-
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
-
name: Install
Expand All @@ -35,16 +35,16 @@ jobs:
tag: ${{ github.ref }}
-
name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
push: true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ It's a small online app to arrange role cards of the board game Werewolves of Mi

Get Started
-----------
1. Install Node.js 18.x or later versions.
1. Install Node.js 20.x or later versions.
1. Run `npm i` to install dependencies.
1. Run `npm start` to start webpack development server.
1. Open `http://localhost:9526` in a browser to start debugging.
2 changes: 1 addition & 1 deletion .linguistrc.js → linguist.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @type {import('@karuta/linguist').Config}
*/
module.exports = {
export default {
locales: [
'en-US',
'en-GB',
Expand Down
Loading

0 comments on commit 68b11a5

Please sign in to comment.