Skip to content

Commit

Permalink
fix: auto build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sese-Schneider committed Jan 29, 2023
1 parent 6698b35 commit 2dc0c5f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
File renamed without changes.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,19 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 18.x
uses: actions/setup-node@v2.1.4
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.OS }}-node-18.x-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-node-${{ matrix.node-version }}
${{ runner.OS }}-node-18.x
${{ runner.OS }}-
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
${{ runner.OS }}-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build the project
run: npm run build --if-present
- name: Release
run: npx semantic-release --debug
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2dc0c5f

Please sign in to comment.