Skip to content

Commit

Permalink
fix: test ci automation
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfeldpausch committed May 26, 2023
1 parent ffaa806 commit f307388
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ jobs:
node-version-file: .nvmrc
cache: npm
cache-dependency-path: package-lock.json
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build ngx-intl
- run: |
cd dist/ngx-intl
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run prepublishOnly
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
package: dist/ngx-intl/package.json
2 changes: 1 addition & 1 deletion projects/ngx-intl/src/lib/intl-date.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const INTL_DATE_PRESET_FULL_TIME: IntlDateOptions =
{ hour: 'numeric', minute: 'numeric', second: 'numeric', timeZoneName: 'long' };

/**
* A pipe that formats a date using the Intl.DateTimeFormat API
* A pipe that formats a date using the Intl.DateTimeFormat API.
*/
@Pipe({
name: 'intlDate',
Expand Down

0 comments on commit f307388

Please sign in to comment.