Skip to content

Commit

Permalink
Fix release (#25)
Browse files Browse the repository at this point in the history
* build dist, not lib

* build with ncc

* changelog

* bump checkout

* avoid complaint when dist doesn't exist yet

* sorry, no i18n here yet

* maybe we still want to build lib

* no longer can run build-free from master (hopefully still can from release package)
  • Loading branch information
infotroph authored Dec 1, 2023
1 parent 9d9e14e commit e97d001
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 4,129 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"rules": {
"eslint-comments/no-use": "off",
"i18n-text/no-en": "off",
"import/no-namespace": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
ref: ${{ github.event.release.tag_name }}
- name: Install deps and build
run: npm ci && npm run build
run: npm ci && npm run pack
- uses: JasonEtco/build-and-tag-action@v2
env:
GITHUB_TOKEN: ${{ github.token }}
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: |
npm ci
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
check_untracked: true
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,5 @@ Thumbs.db

# Ignore built ts files
__tests__/runner/*
lib/**/*
lib/**/*
dist
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.0.5], 2023-11-30

* Fix broken release by packaging the right file.

## [1.0.4], 2023-11-30

* Update to Node 20 and Typescript 5, with bumps to almost every dependency.
Expand Down
Loading

0 comments on commit e97d001

Please sign in to comment.