Skip to content

Commit

Permalink
Merge a79e589 into 2fc07d0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Jan 27, 2023
2 parents 2fc07d0 + a79e589 commit 169fbb5
Show file tree
Hide file tree
Showing 11 changed files with 5,604 additions and 5,139 deletions.
15 changes: 2 additions & 13 deletions .github/actions/init-npm/action.yml
Expand Up @@ -10,23 +10,12 @@ description: Set up npm and install dependencies
runs:
using: composite
steps:
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
name: Set up node
with:
node-version: ${{ inputs.node-version }}
cache: npm
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
Expand Down
17 changes: 17 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,17 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2

updates:
- package-ecosystem: "npm"
directory: "/"
open-pull-requests-limit: 20
schedule:
interval: "weekly"
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
14 changes: 7 additions & 7 deletions .github/workflows/core.yml
Expand Up @@ -6,19 +6,19 @@ on:
jobs:
test:
runs-on: ubuntu-latest
name: Test ubuntu-latest/Node 16
name: Test ubuntu-latest/Node 18
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Test
uses: ./.github/actions/test
with:
node-version: 16
node-version: 18
gh-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage
if: ${{ runner.os != 'windows-latest' }}
continue-on-error: true
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: node-${{ inputs.node-version }}-on-${{ runner.os }}-${{ github.event_name }}
Expand All @@ -31,18 +31,18 @@ jobs:
- test
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1000
- name: Init NPM
uses: ./.github/actions/init-npm
with:
node-version: 16
node-version: 18
gh-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v2
name: Reconfig Node
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org
- name: Release
run: npm run release
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Arturas Molcanovas <a.molcanovas@gmail.com> (https://github.com/Alorel)
Copyright (c) 2023 Arturas Molcanovas <amolc@pm.me> (https://github.com/Alorel)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -4,6 +4,12 @@ Used the abandoned [ngx-sails](https://github.com/brandom/ngx-sails) as a base.

## Installation

Angular 15:

```javascript
npm install @aloreljs/ngx-sails@~3.0.0 socket.io-client@^2.0.0
```

Angular 14:

```javascript
Expand Down

0 comments on commit 169fbb5

Please sign in to comment.