Skip to content

Commit

Permalink
update deps, use jest
Browse files Browse the repository at this point in the history
  • Loading branch information
larscom committed Dec 28, 2023
1 parent de025a9 commit b878d59
Show file tree
Hide file tree
Showing 56 changed files with 12,529 additions and 17,346 deletions.
5 changes: 0 additions & 5 deletions .firebaserc

This file was deleted.

71 changes: 0 additions & 71 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/firebase-hosting-merge.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/firebase-hosting-pull-request.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/npm-publish.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: workflow

on:
push:
tags:
- '*.*.*'
branches:
- '**'
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
env:
TZ: Europe/Amsterdam
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: |
npm ci --ignore-scripts --legacy-peer-deps
npm run test
- uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/coverage-final.json

publish:
if: startsWith(github.ref, 'refs/tags/')
needs: [test]
runs-on: ubuntu-latest
env:
TZ: Europe/Amsterdam
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- run: |
npm ci --ignore-scripts --legacy-peer-deps
npm run build
- run: |
cd dist/ngrx-store-storagesync
version=${{ github.ref_name }}
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/" ./package.json
npm publish
5 changes: 3 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"useTabs": false,
"printWidth": 120,
"singleQuote": true,
"trailingComma": "none",
"disableLanguages": ["html"]
"singleQuote": true,
"semi": false,
"disableLanguages": []
}
Loading

0 comments on commit b878d59

Please sign in to comment.