Skip to content

Commit

Permalink
Merge pull request #1270 from undp/develop
Browse files Browse the repository at this point in the history
Release 1.2.4
  • Loading branch information
Jura authored Jul 24, 2023
2 parents 3dd5551 + 0b17bc6 commit 2bd02bf
Show file tree
Hide file tree
Showing 91 changed files with 2,393 additions and 16,555 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
name: Node.js Package
name: Publish Package to npmjs

on:
release:
types: [created]
workflow_dispatch:

jobs:
publish-gpr:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
always-auth: true
node-version: 16
registry-url: https://npm.pkg.github.com/
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install -g npm
- run: npm ci
- run: npm publish
- run: npm publish --access public
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion .yarnrc.yml

This file was deleted.

12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,25 @@ Run the following commands to create/update the code.
git clone

# install project dependencies
yarn install
or
npm install

# runs storybook locally
yarn run storybook
or
npm run storybook

# build storybook
yarn run build-storybook
or
npm run build-storybook

# build compiled css and js
yarn run build
or
npm run build

# linting on codebase
# caution: this will write changes to your files
yarn run lint
or
npm run lint
```

### Important

Make sure to run `yarn run build` or `npm run build` to compile production ready css and js files and include them with your development work. This will help save some extra steps when it comes time to deploy to production.
Make sure to run `npm run build` to compile production ready css and js files and include them with your development work. This will help save some extra steps when it comes time to deploy to production.

## List of components

Expand Down
Loading

0 comments on commit 2bd02bf

Please sign in to comment.