Skip to content

Commit

Permalink
new main
Browse files Browse the repository at this point in the history
  • Loading branch information
Gebuz committed Dec 6, 2023
1 parent 7715f00 commit f3647bc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: npm ci
- run: npm test
- run: npm run build

# Important note:
# This only works in github actions when you've added an "automation token" by the name of "NPM_TOKEN" to "repository secrets"
Expand All @@ -24,8 +25,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org
- run: npm publish --access public
- run: npm publish --access public --dry-run
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4 changes: 2 additions & 2 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@dataforsyningen/gsearch-ui",
"version": "1.4.0",
"version": "1.4.1",
"description": "UI component for GSearch.",
"main": "index.js",
"main": "public/search.js",
"type": "module",
"scripts": {
"serve": "node server.js",
Expand Down

0 comments on commit f3647bc

Please sign in to comment.