Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tanakaworld committed Apr 15, 2024
1 parent 2dd8a50 commit 030f102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 70 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/before-merge.yml

This file was deleted.

36 changes: 2 additions & 34 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- release/*

jobs:
lint-test-build:
name: Lint, Unit Test and Build
deploy:
name: Deploy

runs-on: ubuntu-latest

Expand All @@ -29,38 +29,6 @@ jobs:
run: npm run lint
- name: Generate
run: npm run generate
- uses: actions/upload-artifact@v2
with:
name: dist
path: dist
if-no-files-found: error

deploy:
name: Deploy

needs: lint-test-build

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Read .node-version
id: node-version
uses: juliangruber/read-file-action@v1
with:
path: ./.node-version
- name: Use Node.js ${{ steps.node-version.outputs.content }}
uses: actions/setup-node@v2
with:
node-version: ${{ steps.node-version.outputs.content }}
cache: 'npm'
- name: Install
run: npm ci
- name: Download Artifact
uses: actions/download-artifact@master
with:
name: dist
path: dist
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
Expand Down

0 comments on commit 030f102

Please sign in to comment.