ci: use latest workflow version - superseded #2754

This commit is contained in:
Liyas Thomas
2022-10-09 16:44:44 +05:30
parent 528d0b0429
commit 8f2810db30
3 changed files with 11 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ jobs:
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v1 uses: github/codeql-action/init@v2
with: with:
# Run extended queries including queries using machine learning # Run extended queries including queries using machine learning
queries: security-extended queries: security-extended
@@ -55,7 +55,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below) # If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild - name: Autobuild
uses: github/codeql-action/autobuild@v1 uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell. # Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl # 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
# make release # make release
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1 uses: github/codeql-action/analyze@v2

View File

@@ -9,8 +9,11 @@ jobs:
deploy_live_website: deploy_live_website:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Checkout Repository
- uses: FirebaseExtended/action-hosting-deploy@v0 uses: actions/checkout@v3
- name: Deploy to Firebase (production)
uses: FirebaseExtended/action-hosting-deploy@v0
with: with:
repoToken: '${{ secrets.GITHUB_TOKEN }}' repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_POSTWOMAN_API }}' firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_POSTWOMAN_API }}'

View File

@@ -15,14 +15,12 @@ jobs:
node-version: ["lts/*"] node-version: ["lts/*"]
steps: steps:
- name: Checkout Repo - name: Checkout Repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Setup Environment - name: Setup Environment
run: mv packages/hoppscotch-app/.env.example packages/hoppscotch-app/.env run: mv packages/hoppscotch-app/.env.example packages/hoppscotch-app/.env
- uses: actions/setup-node@v2
- name: Setup and run pnpm install - name: Setup and run pnpm install
uses: pnpm/action-setup@v2.2.2 uses: pnpm/action-setup@v2.2.2
with: with:
@@ -30,7 +28,7 @@ jobs:
run_install: true run_install: true
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: pnpm cache: pnpm