-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update library to support ng13
BREAKING CHANGE: Earlier versions of Angular no longer supported
- Loading branch information
Showing
62 changed files
with
31,168 additions
and
12,856 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
inputs: | ||
node-version: | ||
description: Node version | ||
required: true | ||
gh-token: | ||
description: GH token | ||
required: true | ||
name: Set up npm | ||
description: Set up npm and install dependencies | ||
runs: | ||
using: composite | ||
steps: | ||
- uses: actions/setup-node@v2 | ||
name: Set up node | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
registry-url: https://npm.pkg.github.com | ||
- name: Get NPM cache dir | ||
id: npm-cache-dir | ||
shell: bash | ||
run: | | ||
echo "::set-output name=dir::$(npm config get cache)" | ||
- name: Cache NPM | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.npm-cache-dir.outputs.dir }} | ||
key: ${{ runner.os }}-npm-${{ inputs.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm-${{ inputs.node-version }}- | ||
- name: Install deps | ||
run: npm ci --no-fund | ||
shell: bash | ||
env: | ||
NODE_AUTH_TOKEN: ${{ inputs.gh-token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
inputs: | ||
node-version: | ||
description: Node version | ||
required: true | ||
gh-token: | ||
description: GH token | ||
required: true | ||
name: Test | ||
description: Run tests | ||
runs: | ||
using: composite | ||
steps: | ||
- name: NPM Init | ||
uses: ./.github/actions/init-npm | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
gh-token: ${{ inputs.gh-token }} | ||
- name: Test | ||
run: npm run test | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Core | ||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Test ubuntu-latest/Node 16 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Test | ||
uses: ./.github/actions/test | ||
with: | ||
node-version: 16 | ||
gh-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Upload coverage | ||
if: ${{ runner.os != 'windows-latest' }} | ||
continue-on-error: true | ||
uses: coverallsapp/github-action@v1.1.2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
flag-name: node-${{ inputs.node-version }}-on-${{ runner.os }}-${{ github.event_name }} | ||
path-to-lcov: ./coverage/ngx-sails/lcov.info | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | ||
needs: | ||
- test | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1000 | ||
- name: Init NPM | ||
uses: ./.github/actions/init-npm | ||
with: | ||
node-version: 16 | ||
gh-token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: actions/setup-node@v2 | ||
name: Reconfig Node | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org | ||
- name: Release | ||
run: npm run release | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
.idea/ | ||
/.angular/ | ||
node_modules/ | ||
/dist/ | ||
/coverage/ | ||
/.nyc_output/ | ||
/yarn-error.log | ||
/*.tgz | ||
/.alobuild-tsconfig-*.json | ||
/package-lock.json | ||
.npmrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.