Skip to content

Commit

Permalink
Merge branch 'support/devcontainer' into feat/add-new-calcmethod
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Jan 13, 2024
2 parents b7d513c + 9b37a17 commit 6684f5c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on: push

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn run lint

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn run build

# Check that the build artifacts match those present in the dist dir
check_artifacts_are_latest:
needs: build

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn run build && git diff --exit-code
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,10 @@
"types": [
"script"
]
},
"engines": {
"node": "20",
"yarn": "1.22 < 2",
"npm": "9"
}
}

0 comments on commit 6684f5c

Please sign in to comment.