Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Feb 23, 2024
1 parent 3fd53b7 commit eba0b8e
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 11 deletions.
96 changes: 91 additions & 5 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,99 @@ name: Integrate

on:
push:
branches: [main]
branches: [tmp]

env:
FORCE_COLOR: 1

jobs:
_:
uses: medikoo/github-actions-workflows/.github/workflows/0.12-integrate.yml@main
secrets:
USER_GITHUB_TOKEN: ${{ secrets.USER_GITHUB_TOKEN }}
linuxNode6:
name: "[Linux] Node.js v6: Unit tests"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Retrieve dependencies from cache
id: cacheNpm
uses: actions/cache@v4
with:
path: |
~/.npm
node_modules
key: npm-v6-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
restore-keys: npm-v6-${{ runner.os }}-${{ github.ref }}-

- name: Install Node.js and npm
uses: actions/setup-node@v4
with:
node-version: 6.x

- name: Install dependencies
if: steps.cacheNpm.outputs.cache-hit != 'true'
run: |
sed '/husky": "/d' package.json | tee package.json
npm update --no-save
npm update --save-dev --no-save
# - name: Unit tests
# run: npm test

# linuxNode4:
# name: "[Linux] Node.js v4: Unit tests"
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2

# - name: Retrieve dependencies from cache
# id: cacheNpm
# uses: actions/cache@v2
# with:
# path: |
# ~/.npm
# node_modules
# key: npm-v4-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
# restore-keys: npm-v4-${{ runner.os }}-${{ github.ref }}-

# - name: Install Node.js and npm
# uses: actions/setup-node@v1
# with:
# node-version: 4.x

# - name: Install dependencies
# if: steps.cacheNpm.outputs.cache-hit != 'true'
# run: |
# npm update --no-save
# npm update --save-dev --no-save
# - name: Unit tests
# run: npm test

# linuxNode012:
# name: "[Linux] Node.js v0.12: Unit tests"
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2

# - name: Retrieve dependencies from cache
# id: cacheNpm
# uses: actions/cache@v2
# with:
# path: |
# ~/.npm
# node_modules
# key: npm-v0.12-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
# restore-keys: npm-v0.12-${{ runner.os }}-${{ github.ref }}-

# - name: Install Node.js and npm
# uses: actions/setup-node@v1
# with:
# node-version: "0.12"

# - name: Install dependencies
# if: steps.cacheNpm.outputs.cache-hit != 'true'
# run: |
# npm update --no-save
# npm update --save-dev --no-save
# - name: Unit tests
# run: npm test
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@
"utilities"
],
"repository": "medikoo/es5-ext",
"dependencies": {
"es6-iterator": "^2.0.3",
"es6-symbol": "^3.1.3",
"esniff": "^2.0.1",
"next-tick": "^1.1.0"
},
"dependencies": {},
"devDependencies": {
"eslint": "^8.56.0",
"eslint-config-medikoo": "^4.2.0",
Expand Down

0 comments on commit eba0b8e

Please sign in to comment.