Skip to content

Commit

Permalink
fix(deps): upgrade all dependencies to latest
Browse files Browse the repository at this point in the history
chore: upgrade all workflows to being stable
  • Loading branch information
dalisoft committed Mar 30, 2023
1 parent 1c415ae commit 95b7135
Show file tree
Hide file tree
Showing 5 changed files with 11,213 additions and 5,236 deletions.
39 changes: 14 additions & 25 deletions .github/workflows/lint_test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,21 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 18
cache: 'npm'

- name: Install
run: yarn --frozen-lockfile
run: npm ci

- name: Lint code
run: yarn lint
run: npm run lint
test:
needs: lint
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [18.x]
node-version: [18]
os: [ubuntu-22.04, macos-12]

steps:
Expand All @@ -43,21 +44,16 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Cache
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
cache: 'npm'

- name: Install
run: yarn --frozen-lockfile
run: npm ci

- name: Build code
run: yarn build
run: npm run build

- name: Test code
run: yarn test
run: npm run test
release:
needs: test
runs-on: ubuntu-22.04
Expand All @@ -68,24 +64,17 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
node-version: 18
cache: 'npm'

- name: Install
run: yarn --frozen-lockfile
- name: semantic-release Prepare
run: yarn add semantic-release
run: npm ci

- name: Build code
run: yarn build
run: npm run build

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release
run: npx semantic-release
17 changes: 6 additions & 11 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18]
os: [ubuntu-22.04]

steps:
Expand All @@ -24,24 +24,19 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
cache: 'npm'

- name: Install
run: yarn --frozen-lockfile
run: npm ci

- name: Lint code
run: yarn lint
run: npm run lint

- name: Build code
run: yarn build
run: npm run build

- name: Test code
run: yarn test
run: npm run test
auto-merge:
needs: lint_test_build
timeout-minutes: 5
Expand Down
Loading

0 comments on commit 95b7135

Please sign in to comment.