As your web app matures, it becomes challenging to ensure your GUI doesn’t break with any given update. There are a lot of browsers and devices, and countless states for every one of your components. Unit tests ensure your code remains consistent, and E2E tests will ensure your system remains consistent, but neither will catch visual anomalies, layout issues, or platform compatibility issues. Ente
結論 このGitHub Workflowの設定を置きましょう。 GitHub Repositoryの設定を変更する必要があります。 Actions→General→Workflow permissions でAllow GitHub Actions to create and approve pull requestsをオンにします。 参考: GitHub ActionsでのPR操作権限はデフォルトでオフになったよ また、頻度はCRONで毎日午前9時の指定を行っているので、好きな頻度に変更して良いと思います。 name: Deno Update on: push: branches: - main schedule: - cron: "0 9 * * *" jobs: update: permissions: write-all runs-on: ubuntu-latest steps:
先日actions-timelineというactionを公開し、その記事を書きました。 このActionはDenoで作成しています。普通はjsのActionは素のNode.js、もしくはTypeScriptで作成するのが一般的ですが、もしかしてDenoでもいけるんじゃない?とチャレンジしてみたところ案外普通に動かすことができました。 DenoでActionを作っている人、作れることを知っている人はまだかなり少ないと思いますので、Denoの布教のためにもactions-timelineから汎用化したテンプレートを作成してみました。 このテンプレートから始めてもらうと、TypeScriptを使いながらも面倒なtsconfigの設定や、formatter, linterをインストールする必要がなくなります。ESLintやPrettierは最初にセットアップするのも少々面倒ですし、その後にそれぞれ
GWにdenoで何か作るという目標を立てていたので簡単ですが、slack botを作成しました。 denoのセットアップ azukiazusaさんの記事を参考にHello World!がサーバーで返せれば問題無いです。 完成品 slackのチャンネルにテキストを飛ばす slackのTokenの作成、botの招待 まずはtokenをとってきます こちらの記事の通りにすればとってこれるはずです。 きちんとTokenが使えるかまで確認し、チャンネルにbotを招待してください。 コード こちらのコードを参考にしました。 あんまり依存したく無いので書き換えました。 export const sendMessage = async(token: string, channel: string, text: string) => { const response = await fetch('https
#概要 私的な理由で Yahoo! カレンダーから情報をとってきたいのですが、Yahoo! カレンダーには API がありません。 そこで本記事では、認証の確認コード入力以外を自動化してヘッドレスブラウザで Yahoo! カレンダーにログインする方法を提案します。 ログインさえできればあとは Yahoo! カレンダーに迷惑のかからない範囲で情報を取ってくることができます。 #Yahoo! へのログインフロー(カレンダーへログインする場合) 記事を執筆している2022年3月14日現在、Yahoo! へログインする方法として、パスワード認証、確認コードによる認証(SMS)、確認コードによる認証(メール)の3種類の方法があります。 本記事では、このうちのパスワード認証を使いません。なぜなら、Yahoo! は確認コードによる認証の利用を推奨している上、パスワード認証には日常生活を送る上で不便な点が
Command line interfaces (“CLI”) are useful, simple to use, and in many cases, the fastest way to get something done. While there are many ways to build a CLI, Deno’s zero config, all-in-one modern tooling, ability to compile your script to a portable executable binary, makes building CLIs a breeze. In this post, we’ll go over building a basic CLI - greetme-cli. It takes your name and a color as ar
Deno KV is one of the first databases that is built right into the runtime. This means you don’t need to do any extra steps such as provisioning a database or copying and pasting API keys to build stateful applications. To open a connection to a data store, you can simply write: In addition to being a key-value store with a simple, yet flexible API, it’s a production-ready database with atomic tra
Welcome to Comprehensive Rust 🦀 This is a free Rust course developed by the Android team at Google. The course covers the full spectrum of Rust, from basic syntax to advanced topics like generics and error handling. The latest version of the course can be found at https://google.github.io/comprehensive-rust/. If you are reading somewhere else, please check there for updates. The course is also av
You will use Vue and Spring Boot to build a todo list web application. The application will include CRUD abilities, meaning that you can create, read, update, and delete the todo items on the Spring Boot API via the client. The Vue frontend client will use the Quasar framework for the presentation. OAuth 2.0 and OpenID Connect (OIDC) will secure the Spring Boot API and the Vue client, initially by
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く